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