Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
httpout
Introduction
Hybrid async-sync
File-based routing
Virtual imports
Benchmarking
Reference
Built-ins
print()
run()
wait()
__main__
__server__
__globals__
Request object
request.environ
request.headers
request.cookies
request.body()
request.form()
request.files()
request.stream()
Response object
response.headers
response.headers_sent()
response.append_header()
response.set_header()
response.set_cookie()
response.set_status()
response.set_content_type()
response.write()
WebSocket object
Project Repository
Docs Repository
Reference
Response object
response.headers
This property contains the headers to be sent, this can still be altered in the middleware.