Inherits object.
Inherited by rpki.http.http_request, and rpki.http.http_response.
List of all members.
Detailed Description
Virtual class representing of one HTTP message.
Definition at line 125 of file http.py.
Member Function Documentation
def rpki.http.http_message.__init__ |
( |
|
self, |
|
|
|
version = None , |
|
|
|
body = None , |
|
|
|
headers = None | |
|
) |
| | |
def rpki.http.http_message.__str__ |
( |
|
self |
) |
|
def rpki.http.http_message.format |
( |
|
self |
) |
|
Format an outgoing HTTP message.
Definition at line 175 of file http.py.
def rpki.http.http_message.normalize_headers |
( |
|
self, |
|
|
|
headers = None | |
|
) |
| | |
Clean up (some of) the horrible messes that HTTP allows in its
headers.
Definition at line 138 of file http.py.
def rpki.http.http_message.parse_from_wire |
( |
|
cls, |
|
|
|
headers | |
|
) |
| | |
Parse and normalize an incoming HTTP message.
Definition at line 161 of file http.py.
def rpki.http.http_message.parse_version |
( |
|
self, |
|
|
|
version | |
|
) |
| | |
Parse HTTP version, raise an exception if we can't.
Definition at line 193 of file http.py.
def rpki.http.http_message.persistent |
( |
|
self |
) |
|
Figure out whether this HTTP message encourages a persistent connection.
Definition at line 201 of file http.py.
Member Data Documentation
The documentation for this class was generated from the following file: