speed improvements

This commit is contained in:
Channel Cat
2016-10-14 03:52:21 -07:00
parent 33f712ef9b
commit 62c1235f58
2 changed files with 16 additions and 17 deletions

View File

@@ -14,8 +14,4 @@ app = Sanic("test")
async def test(request):
return json({ "test": True })
@app.route("/file")
async def test(request):
return json({ "test": True, "files": request.files, "fields": request.form })
app.run(host="0.0.0.0", port=sys.argv[1])