class documentation

class HTTPPageDownloader(HTTPPageGetter): (source)

View In Hierarchy

Undocumented

Method handle​Response​End The response has been completely received.
Method handle​Response​Part Undocumented
Method handle​Status_200 Undocumented
Method handle​Status_206 Undocumented
Instance Variable transmitting​Page Undocumented

Inherited from HTTPPageGetter:

Method connection​Lost When the connection used to issue the HTTP request is closed, notify the factory if we have not already, so it can produce a result.
Method connection​Made Called when a connection is made.
Method handle​End​Headers Called when all headers have been received.
Method handle​Header Called every time a header is received. Stores the header information as key-value pairs in the headers attribute.
Method handle​Response Undocumented
Method handle​Status Handle the HTTP status line.
Method handle​Status_301 Undocumented
Method handle​Status_302 Undocumented
Method handle​Status_303 Undocumented
Method handle​Status​Default Undocumented
Method timeout Undocumented
Class Variable follow​Redirect Undocumented
Class Variable handle​Status_201 Undocumented
Class Variable handle​Status_202 Undocumented
Instance Variable failed Undocumented
Instance Variable headers Undocumented
Instance Variable message Undocumented
Instance Variable quiet​Loss Undocumented
Instance Variable status Undocumented
Instance Variable version Undocumented
Class Variable _special​Headers Undocumented
Instance Variable _completely​Done A boolean indicating whether any further requests are necessary after this one completes in order to provide a result to self.factory.deferred. If it is False, then a redirect is going to be followed. Otherwise, this protocol's connection is the last one before firing the result Deferred. This is used to make sure the result Deferred is only fired after the connection is cleaned up.

Inherited from HTTPClient (via HTTPPageGetter):

Method end​Headers Undocumented
Method extract​Header Given a complete HTTP header, extract the field name and value and process the header.
Method line​Received Parse the status line and headers for an HTTP request.
Method raw​Data​Received Override this for when raw data is received.
Method send​Command Undocumented
Method send​Header Undocumented
Instance Variable first​Line Are we waiting for the first header line?
Instance Variable length The length of the request body in bytes.
Instance Variable __buffer The buffer that stores the response to the HTTP request.
Instance Variable _header Part or all of an HTTP request header.

Inherited from LineReceiver (via HTTPPageGetter, HTTPClient):

Method clear​Line​Buffer Clear buffered data.
Method data​Received Protocol.dataReceived. Translates bytes into lines, and calls lineReceived (or rawDataReceived, depending on mode.)
Method line​Length​Exceeded Called when the maximum line length has been reached. Override if it needs to be dealt with in some special way.
Method send​Line Sends a line to the other end of the connection.
Method set​Line​Mode Sets the line-mode of this receiver.
Method set​Raw​Mode Sets the raw mode of this receiver. Further data received will be sent to rawDataReceived rather than lineReceived.
Constant MAX​_LENGTH The maximum length of a line to allow (If a sent line is longer than this, the connection is dropped). Default is 16384.
Class Variable delimiter The line-ending delimiter to use. By default this is b'\r\n'.
Instance Variable line​_mode Undocumented
Instance Variable _buffer Undocumented
Instance Variable _busy​Receiving Undocumented

Inherited from Protocol (via HTTPPageGetter, HTTPClient, LineReceiver):

Method log​Prefix Return a prefix matching the class name, to identify log messages related to this protocol instance.
Class Variable factory Undocumented

Inherited from BaseProtocol (via HTTPPageGetter, HTTPClient, LineReceiver, Protocol):

Method make​Connection Make a connection to a transport and a server.
Instance Variable connected Undocumented
Instance Variable transport Undocumented

Inherited from _PauseableMixin (via HTTPPageGetter, HTTPClient, LineReceiver):

Method pause​Producing Undocumented
Method resume​Producing Undocumented
Method stop​Producing Undocumented
Instance Variable paused Undocumented
def handleResponseEnd(self): (source)

The response has been completely received.

This callback may be invoked more than once per request.

def handleResponsePart(self, data): (source)
def handleStatus_200(self, partialContent=0): (source)
def handleStatus_206(self): (source)

Undocumented

transmittingPage: int = (source)

Undocumented