🚚 Re-order tutorial Python fiels

This commit is contained in:
Sebastián Ramírez
2018-12-14 10:07:07 +04:00
parent ec7bec32ba
commit 400a4a99af
35 changed files with 311 additions and 322 deletions
+2 -2
View File
@@ -4,5 +4,5 @@ app = FastAPI()
@app.get("/items/")
async def read_items(*, strange_header: str = Header(None, convert_underscores=False)):
return {"strange_header": strange_header}
async def read_items(*, accept_encoding: str = Header(None)):
return {"Accept-Encoding": accept_encoding}