We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@app.get("/") async def handler(request: Request): return JSONResponse({"message": "Hello World!"})
╰─▶ curl localhost:9999 HTTP/1.1 200 OK content-length: 26 connection: keep-alive alt-svc: content-type: None {"message":"Hello World!"}
No response
content-type: application/json
Sanic CLI
all
LTS+
The text was updated successfully, but these errors were encountered:
prryplatypus
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Describe the bug
Code snippet
No response
Expected Behavior
content-type: application/json
How do you run Sanic?
Sanic CLI
Operating System
all
Sanic Version
LTS+
Additional context
No response
The text was updated successfully, but these errors were encountered: