class documentation

Writes an HTTP message to a socket.

Method __init__ Initializes this class and writes an HTTP message to a socket.
Method HasMessageBody Checks whether the HTTP message contains a body.
Method _FormatMessage Serializes the HTTP message into a string.
Method _PrepareMessage Prepares the HTTP message by setting mandatory headers.
Instance Variable _msg Undocumented
def __init__(self, sock, msg, write_timeout):

Initializes this class and writes an HTTP message to a socket.

Parameters
sock:socketSocket to be written to
msg:http.HttpMessageHTTP message to be written
write_timeout:floatWrite timeout for socket
def HasMessageBody(self):

Checks whether the HTTP message contains a body.

Can be overridden by subclasses.

def _FormatMessage(self):

Serializes the HTTP message into a string.

def _PrepareMessage(self):

Prepares the HTTP message by setting mandatory headers.

_msg =

Undocumented