Class t.w.c.h.HTTPParser(object):

Part of twisted.web2.channel.http View Source View In Hierarchy

Known subclasses: twisted.web2.channel.http.HTTPChannelRequest, twisted.web2.client.http.HTTPClientChannelRequest

This class handles the parsing side of HTTP processing. With a suitable subclass, it can parse either the client side or the server side of the connection.
Line # Kind Name Docs
85 Method __init__ Undocumented
89 Method lineReceived Undocumented
156 Method rawDataReceived Handle incoming content.
175 Method headerReceived Store this header away. Check for too much header data
188 Method allHeadersReceived Undocumented
196 Method allContentReceived Undocumented
202 Method splitConnectionHeaders Undocumented
239 Method setConnectionParams Undocumented
298 Method abortParse Undocumented
306 Method pauseProducing Undocumented
310 Method resumeProducing Undocumented
314 Method stopProducing Undocumented
def __init__(self, channel):
Undocumented
def lineReceived(self, line):
Undocumented
def rawDataReceived(self, data):
Handle incoming content.
def headerReceived(self, line):
Store this header away. Check for too much header data (> channel.maxHeaderLength) and abort the connection if so.
def allHeadersReceived(self):
Undocumented
def allContentReceived(self):
Undocumented
def splitConnectionHeaders(self):
Undocumented
def setConnectionParams(self, connHeaders):
Undocumented
def abortParse(self):
Undocumented
def pauseProducing(self):
Undocumented
def resumeProducing(self):
Undocumented
def stopProducing(self):
Undocumented