+ This object represents the metadata of an HTTP request message;
+ that is, it contains attributes which describe the environment
+ in which the request URL, headers, and body were sent (if you
+ want tools to interpret the headers and body, those are elsewhere,
+ mostly in Tools). This 'metadata' consists of socket data,
+ transport characteristics, and the Request-Line. This object
+ also contains data regarding the configuration in effect for
+ the given URL, and the execution plan for generating a response.
- """An HTTP Response."""
+ """An HTTP Response, including status, headers, and body.
+ Application developers should use Response.headers (a dict) to
+ set or modify HTTP response headers. When the response is finalized,
+ Response.headers is transformed into Response.header_list as
# Class attributes for dev-time introspection.
- """Transform headers (and cookies) into
+ """Transform headers (and cookies) into se.header_list."""
code, reason, _ = http.valid_status(self.status)