Skip to main content

HTTP 1.1 user agent for the programmable web.

Project description

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 accomdates incremental decoding of chunked streams.

  • Asynchronous (twisted) API.

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

  • Proxy Support.

Changelog

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

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

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.0.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

pendrell-0.3.0-py2.6.egg (182.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pendrell-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ab872bb66b7d9e09e8bf7cc73b1596a3de33bd4a65f5b25e9760eef767f8f988
MD5 e58aae2b412685af3a6ea56a1ee86028
BLAKE2b-256 43e92c45aa89a52b2ba99fe1a927c5753271739192e2a5849097a6eceefbc5b7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pendrell-0.3.0-py2.6.egg
Algorithm Hash digest
SHA256 2430cbaa7a2a304e5068985f7241f9d82e93f343d8d83501d6205c0a6b8dbbbb
MD5 775518134af4a8e396da99d5163ea446
BLAKE2b-256 3a8a817155fa5a20aad5e1cb33416988ab7c6b8e8c81e930f8df1196fe815b9c

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