Requests

Software Screenshot:
Requests
Software Details:
Version: 2.7.0 updated
Upload Date: 12 May 15
Developer: Kenneth Reitz
Distribution Type: Freeware
Downloads: 86

Rating: nan/5 (Total Votes: 0)

Developed as an alternative to Python's built-in urllib2 module that's usually utilized in dealing with HTTP requests, this library does not only update the core methods found in that library to support features found in Web technologies today, but also greatly simplifies the API, reducing the time needed to code a project.

urllib2 might have been a great tool when it came out, but the rapid development of Web-based technologies has not only made it absolute, but its syntax and the way it works internally have made it hard to work with.

This is why a library like Requests, since it came out with its first unstable branch has been constantly getting more and more praises for its simple way of doing things.

Currently, the Requests library is one of the most used libraries in the Python community.

What is new in this release:

  • Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer encoding and response framing.

What is new in version 2.5.2:

  • Now has a "security" package extras set, $ pip install requests[security].
  • Requests will now use Certifi if it is available.
  • Capture and re-raise urllib3 ProtocolError.

What is new in version 2.0.0:

  • Keys in the Headers dictionary are now native strings on all Python versions, i.e. bytestrings on Python 2, unicode on Python 3.
  • Proxy URLs now must have an explicit scheme. A MissingSchema exception will be raised if they don't.
  • Timeouts now apply to read time if Stream=False.
  • RequestException is now a subclass of IOError, not RuntimeError.
  • Added new method to PreparedRequest objects: PreparedRequest.copy().
  • Added new method to Session objects: Session.update_request(). This method updates a Request object with the data (e.g. cookies) stored on the Session.
  • Added new method to Session objects: Session.prepare_request(). This method updates and prepares a Request object, and returns the corresponding PreparedRequest object.
  • Added new method to HTTPAdapter objects: HTTPAdapter.proxy_headers(). This should not be called directly, but improves the subclass interface.
  • httplib.IncompleteRead exceptions caused by incorrect chunked encoding will now raise a Requests ChunkedEncodingError instead.
  • Invalid percent-escape sequences now cause a Requests InvalidURL exception to be raised.
  • HTTP 208 no longer uses reason phrase "im_used". Correctly uses "already_reported".

What is new in version 1.1.0:

  • Support for iterable response bodies
  • Assume servers persist redirect params
  • Allow explicit content types to be specified for file data
  • Make merge_kwargs case-insensitive when looking up keys

What is new in version 1.0.0:

  • Massive Refactor and Simplification
  • Switch to Apache 2.0 license
  • Swappable Connection Adapters
  • Mountable Connection Adapters
  • Mutable ProcessedRequest chain
  • /s/prefetch/stream
  • Removal of all configuration
  • Standard library logging
  • Make Reponse.json() callable, not property.

What is new in version 0.14.0:

  • No more iter_content errors if already downloaded.

What is new in version 0.13.9:

  • Fixed for OAuth + POSTs.
  • Removed exception eating from dispatch_hook.
  • General bug fixes.

What is new in version 0.13.3:

  • Use simplejson if available.
  • Do not hide SSLErrors behind Timeouts.
  • Fixed param handling with urls containing fragments.
  • Significantly improved information in User Agent.

What is new in version 0.13.2:

  • New: Response.reason
  • Sign querystring parameters in OAuth 1.0
  • Client certificates no longer ignored when verify=False
  • Add openSUSE certificate support

What is new in version 0.13.1:

  • Allow passing a file or file-like object as data.
  • Allow hooks to return responses that indicate errors.
  • Fixed Response.text and Response.json for body-less responses.

What is new in version 0.12.1:

  • New Response.json property
  • Ability to add string file uploads
  • Fix out-of-range issue with iter_lines
  • Fix iter_content default size

What is new in version 0.11.1:

  • POST redirects now break RFC to do what browsers do: Follow up with a GET.
  • New strict_mode configuration to disable new redirect behavior.

What is new in version 0.10.6:

  • Allow '=' in cookies.

What is new in version 0.10.2:

  • Vastly improved URL quoting.
  • Additional allowed cookie key values.
  • Attempted fix for "Too many open files" Error
  • Replace unicode errors on first pass, no need for second pass.
  • Append '/' to bare-domain urls before query insertion.
  • Exceptions now inherit from RuntimeError.
  • Binary uploads + auth fix.

What is new in version 0.9.2:

  • SSL verify=False bugfix (apparent on windows machines).
  • Support for proper chunk streams with boundaries.
  • session argument for Session classes.
  • Print entire hook tracebacks, not just exception instance.
  • Fix response.iter_lines from pending next line.
  • Fix but in HTTP-digest auth w/ URI having query strings.
  • Fix in Event Hooks section.
  • Urllib3 update.

What is new in version 0.8.7:

  • Force safe_mode for async requests
  • Handle safe_mode exceptions more consistently
  • Fix iteration on null responses in safe_mode

What is new in version 0.8.6:

  • Socket timeout fixes.
  • Proxy Authorization support.

What is new in version 0.8.3:

  • Converted auth system to use simpler callable objects.
  • New session parameter to API methods.
  • Display full URL while logging.

What is new in version 0.8.2:

  • New unicode decoding system, based on overridable Response.encoding.
  • Proper URL slash-quote handling.
  • Cookies with [, ], and _ allowed.

What is new in version 0.6.5:

  • Offline (fast) test suite.
  • Session dictionary argument merging.

What is new in version 0.6.4:

  • Automatic decoding of unicode, based on HTTP Headers.
  • New decode_unicode setting
  • Removal of r.read/close methods
  • New r.faw interface for advanced response usage.*
  • Automatic expansion of parameterized headers

What is new in version 0.6.2:

  • GET/HEAD obeys follow_redirect=False.

What is new in version 0.6.1:

  • Enhanced status codes experience \o/.
  • Set a maximum number of redirects (settings.max_redirects).
  • Full Unicode URL support.
  • Support for protocol-less redirects.
  • Allow for arbitrary request types.
  • Bug fixes.

What is new in version 0.5.1:

  • International Domain Name Support!
  • Access headers without fetching entire body (read())
  • Use lists as dicts for parameters
  • Add Forced Basic Authentication
  • Forced Basic is default authentication type
  • python-requests.org default User-Agent header
  • CaseInsensitiveDict lower-case caching
  • Response.history bugfix

What is new in version 0.5.0:

  • PATCH Support
  • Support for Proxies
  • HTTPBin Test Suite
  • Redirect Fixes
  • settings.verbose stream writing
  • Querystrings for all methods
  • URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicity raised r.requests.get('hwe://blah'); r.raise_for_status()

What is new in version 0.4.1:

  • Improved Redirection Handling.
  • New 'allow_redirects' param for following non-GET/HEAD Redirects.
  • Settings module refactoring.

What is new in version 0.4.0:

  • Response.history: list of redirected responses.
  • Case-Insensitive Header Dictionaries.
  • Unicode URLs.

What is new in version 0.3.3:

  • Request timeouts.
  • Unicode url-encoded data.
  • Settings context manager and module.

What is new in version 0.3.2:

  • Automatic Decompression of GZip Encoded Content.
  • AutoAuth Support for Tupled HTTP Auth.

What is new in version 0.3.1:

  • Cookie changes.
  • Response.read().
  • Poster fix.

What is new in version 0.3.0:

  • Automatic Authentication API Change.
  • Smarter Query URL Parameterization.
  • Allow file uploads and POST data together.

What is new in version 0.2.4:

  • Python 2.5 Support.
  • PyPy-c v1.4 Support.
  • Auto-Authentication tests.
  • Improved Request object constructor.

What is new in version 0.2.3:

  • New HTTPHandling methods.

What is new in version 0.2.2:

  • Still handles request in the event of an HTTPError.
  • Eventlet and Gevent Monkeypatch support.
  • Cookie dupport.

Requirements:

  • Python 2.6 or higher

Similar Software

Ipcalc (Python)
Ipcalc (Python)

14 Apr 15

phpIPAM
phpIPAM

11 Aug 16

PcapRub
PcapRub

1 Mar 15

Offline.js
Offline.js

10 Dec 15

Other Software of Developer Kenneth Reitz

inbox
inbox

14 Apr 15

unzipit
unzipit

11 May 15

Requests
Requests

28 Feb 15

Comments to Requests

Comments not found
Add Comment
Turn on images!