Skip to main content

HTTP 1.1 user agent for the programmable web

Project description

Pendrell: Twisted HTTP/1.1 User Agent for the Programmable Web

Pendrell augments the twisted.web framework with an HTTP 1client that has several advantages over prior art (or at least urllib2 and twisted.web.client):

  • HTTP 1.1 support:

    • TE/transfer-encoding support for chunked, gzip, and deflate encodings

    • Ability to simultaneously maintain multiple persistent connections.

  • Transparent gzip and deflate Content-encoding support.

  • Ability to stream data, by performing call-backs with data chunks, alleviates the need to buffer large files.

    • Advanced gzip support accommodates incremental decoding of chunked streams.

  • Asynchronous (twisted) API.

  • Integration with cookielib, and compatibility with urllib2.Request API.

  • Proxy Support.

Changelog

Version 0.3.3
  • LRU requester cache cleanup.

Version 0.3.2
  • Support servers that neither provide a content-length nor use chunked encoding.

Version 0.3.1
  • Authorization caching eliminates unnecessary unauthorized responses.

Version 0.3.0
  • Allow multiple Authenticators to be installed into Agent.authenticators.

  • Modify errors.UnauthorizedResponse to handle multiple WWW-Authenticate header values.

Contact

Oliver Gould <ver at olix0r.net> E242 A7F8 0901 CB63 EBA9 62EA 90F1 192F 0294 0825

http://pendrell.olix0r.net/ http://github.com/olix0r/tx-pendrell

License

Copyright (c) 2010 Oliver V. Gould

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pendrell-0.3.3.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

pendrell-0.3.3-py2.6.egg (182.6 kB view details)

Uploaded Source

File details

Details for the file pendrell-0.3.3.tar.gz.

File metadata

  • Download URL: pendrell-0.3.3.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pendrell-0.3.3.tar.gz
Algorithm Hash digest
SHA256 f93c2ebd91a202cbb0765fc644a9c975bf7f4c377b17c122660b3769b7130210
MD5 53369b4ca54aa8d2c098805783d87430
BLAKE2b-256 6e88c4abe4135e5fe372f6f22df8a0a5a79ea82c5aa777b834c7b40793166b16

See more details on using hashes here.

File details

Details for the file pendrell-0.3.3-py2.6.egg.

File metadata

  • Download URL: pendrell-0.3.3-py2.6.egg
  • Upload date:
  • Size: 182.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pendrell-0.3.3-py2.6.egg
Algorithm Hash digest
SHA256 844f125abb446b0953e6ea5cfd2cf701483f15473ed01ce6a27fe49021f4b101
MD5 7290ac2383657543cd196e0ba52068ef
BLAKE2b-256 2ac4de82067f57be5457e04f5bd730aaace7dca687c01e1b4875982fe1ca4733

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page