Response¶
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
Building Response object is a common way to return information from URL handler back to web framework for returning to client:
Flask: http://flask.pocoo.org/docs/0.10/api/#response-objects
webapp2/WebOb: http://webapp-improved.appspot.com/api/webapp2.html#webapp2.Response
Default Content-Type |
|
|---|---|
text/html; charset=utf-8 |
|
text/html; charset=utf-8 |
|
text/html; charset=utf-8 |
|
text/html; charset=utf-8 |