Public Member Functions | Public Attributes | Static Public Attributes

rpki.http.http_message Class Reference

Inherits object.

Inherited by rpki.http.http_request, and rpki.http.http_response.

Collaboration diagram for rpki.http.http_message:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__
def format
def normalize_headers
def parse_from_wire
def parse_version
def persistent

Public Attributes

 body
 headers
 version

Static Public Attributes

string software_name = "ISC RPKI library"

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 
)

Definition at line 132 of file http.py.

def rpki.http.http_message.__str__ (   self  ) 

Definition at line 190 of file http.py.

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

Definition at line 134 of file http.py.

Definition at line 135 of file http.py.

string rpki.http.http_message.software_name = "ISC RPKI library" [static]

Definition at line 130 of file http.py.

Definition at line 133 of file http.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables