v0.20.0 - [Breaking Change] - Allow non string response types
What's Changed
- feat: add an auto benchmark script by @AntoineRR in #329
- feat: allow non string types in response by @sansyrox in #337
Full Changelog: v0.19.2...v0.20.0
Sample Usage
@app.get("/request_headers")
async def request_headers():
return {
"status_code": 200,
"body": "This is a regular response",
"type": "text",
"headers": {"Header": "header_value"},
}