twisted.web.client.HTTPDownloader(HTTPClientFactory) class documentationtwisted.web.client
          View Source
          (View In Hierarchy)
        
      Download to a file.
| Method | __init__ | Undocumented | 
| Method | gotHeaders | Undocumented | 
| Method | openFile | Undocumented | 
| Method | pageStart | Called on page download start. | 
| Method | pagePart | Undocumented | 
| Method | noPage | Close the storage file and errback the waiting Deferred with 
the given reason. | 
  
| Method | pageEnd | Undocumented | 
Inherited from Factory (via HTTPClientFactory, ClientFactory):
| Class Method | forProtocol | Create a factory for the given protocol. | 
| Method | logPrefix | Describe this factory for log messages. | 
| Method | doStart | Make sure startFactory is called. | 
| Method | doStop | Make sure stopFactory is called. | 
| Method | startFactory | This will be called before I begin listening on a Port or Connector. | 
| Method | stopFactory | This will be called before I stop listening on all Ports/Connectors. | 
Inherited from Factory (via HTTPClientFactory, ClientFactory):
| Class Method | forProtocol | Create a factory for the given protocol. | 
| Method | logPrefix | Describe this factory for log messages. | 
| Method | doStart | Make sure startFactory is called. | 
| Method | doStop | Make sure stopFactory is called. | 
| Method | startFactory | This will be called before I begin listening on a Port or Connector. | 
| Method | stopFactory | This will be called before I stop listening on all Ports/Connectors. | 
Inherited from Factory (via HTTPClientFactory, ClientFactory):
| Class Method | forProtocol | Create a factory for the given protocol. | 
| Method | logPrefix | Describe this factory for log messages. | 
| Method | doStart | Make sure startFactory is called. | 
| Method | doStop | Make sure stopFactory is called. | 
| Method | startFactory | This will be called before I begin listening on a Port or Connector. | 
| Method | stopFactory | This will be called before I stop listening on all Ports/Connectors. | 
Called on page download start.
| Parameters | partialContent | tells us if the download is partial download we requested. |