11 - Keys in the Headers dictionary are now native strings on all Python versions,
12 i.e. bytestrings on Python 2, unicode on Python 3.
13 - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
14 will be raised if they don't.
15 - Timeouts now apply to read time if ``Stream=False``.
16 - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
17 - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
18 - Added new method to ``Session`` objects: ``Session.update_request()``. This
19 method updates a ``Request`` object with the data (e.g. cookies) stored on
21 - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
22 method updates and prepares a ``Request`` object, and returns the
23 corresponding ``PreparedRequest`` object.
24 - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
25 This should not be called directly, but improves the subclass interface.
26 - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
27 will now raise a Requests ``ChunkedEncodingError`` instead.
28 - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
29 exception to be raised.
30 - HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses
31 ``"already_reported"``.
32 - HTTP 226 reason added (``"im_used"``).
36 - Vastly improved proxy support, including the CONNECT verb. Special thanks to
37 the many contributors who worked towards this improvement.
38 - Cookies are now properly managed when 401 authentication responses are
40 - Chunked encoding fixes.
41 - Support for mixed case schemes.
42 - Better handling of streaming downloads.
43 - Retrieve environment proxies from more locations.
44 - Minor cookies fixes.
45 - Improved redirect behaviour.
46 - Improved streaming behaviour, particularly for compressed data.
47 - Miscellaneous small Python 3 text encoding bugs.
48 - ``.netrc`` no longer overrides explicit auth.
49 - Cookies set by hooks are now correctly persisted on Sessions.
50 - Fix problem with cookies that specify port numbers in their host field.
51 - ``BytesIO`` can be used to perform streaming uploads.
52 - More generous parsing of the ``no_proxy`` environment variable.
53 - Non-string objects can be passed in data values alongside files.
58 - Simple packaging fix
64 - Simple packaging fix
70 - Python 3.3.2 compatibility
71 - Always percent-encode location headers
72 - Fix connection adapter matching to be most-specific first
73 - new argument to the default connection adapter for passing a block argument
74 - prevent a KeyError when there's no link headers
79 - Fixed cookies on sessions and on requests
80 - Significantly change how hooks are dispatched - hooks now receive all the
81 arguments specified by the user when making a request so hooks can make a
82 secondary request with the same parameters. This is especially necessary for
83 authentication handler authors
84 - certifi support was removed
85 - Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
86 - Major proxy work thanks to @Lukasa including parsing of proxy authentication
88 - Fix DigestAuth handling too many 401s
89 - Update vendored urllib3 to include SSL bug fixes
90 - Allow keyword arguments to be passed to ``json.loads()`` via the
91 ``Response.json()`` method
92 - Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
94 - Add ``elapsed`` attribute to ``Response`` objects to time how long a request
96 - Fix ``RequestsCookieJar``
97 - Sessions and Adapters are now picklable, i.e., can be used with the
98 multiprocessing library
99 - Update charade to version 1.0.3
101 The change in how hooks are dispatched will likely cause a great deal of
108 - Support for iterable response bodies
109 - Assume servers persist redirect params
110 - Allow explicit content types to be specified for file data
111 - Make merge_kwargs case-insensitive when looking up keys
116 - Fix file upload encoding bug
117 - Fix cookie behavior
122 - Proxy fix for HTTPAdapter.
127 - Cert verification exception bug.
128 - Proxy fix for HTTPAdapter.
133 - Massive Refactor and Simplification
134 - Switch to Apache 2.0 license
135 - Swappable Connection Adapters
136 - Mountable Connection Adapters
137 - Mutable ProcessedRequest chain
139 - Removal of all configuration
140 - Standard library logging
141 - Make Response.json() callable, not property.
142 - Usage of new charade project, which provides python 2 and 3 simultaneous chardet.
143 - Removal of all hooks except 'response'
144 - Removal of all authentication helpers (OAuth, Kerberos)
146 This is not a backwards compatible change.
151 - Improved mime-compatible JSON handling
154 - Case-Insensistive Content-Encoding headers
155 - Support for CJK parameters in form posts
161 - Python 3.3 Compatibility
162 - Simply default accept-encoding
169 - No more iter_content errors if already downloaded.
174 - Fix for OAuth + POSTs
175 - Remove exception eating from dispatch_hook
181 - Incredible Link header support :)
186 - Support for (key, value) lists everywhere.
187 - Digest Authentication improvements.
188 - Ensure proxy exclusions work properly.
189 - Clearer UnicodeError exceptions.
190 - Automatic casting of URLs to tsrings (fURL and such)
196 - Long awaited fix for hanging connections!
206 - GSSAPI/Kerberos authentication!
207 - App Engine 2.7 Fixes!
208 - Fix leaking connections (from urllib3 update)
209 - OAuthlib path hack fix
210 - OAuthlib URL parameters fix.
215 - Use simplejson if available.
216 - Do not hide SSLErrors behind Timeouts.
217 - Fixed param handling with urls containing fragments.
218 - Significantly improved information in User Agent.
219 - client certificates are ignored when verify=False
224 - Zero dependencies (once again)!
225 - New: Response.reason
226 - Sign querystring parameters in OAuth 1.0
227 - Client certificates no longer ignored when verify=False
228 - Add openSUSE certificate support
233 - Allow passing a file or file-like object as data.
234 - Allow hooks to return responses that indicate errors.
235 - Fix Response.text and Response.json for body-less responses.
240 - Removal of Requests.async in favor of `grequests <https://github.com/kennethreitz/grequests>`_
241 - Allow disabling of cookie persistiance.
242 - New implimentation of safe_mode
243 - cookies.get now supports default argument
244 - Session cookies not saved when Session.request is called with return_response=False
245 - Env: no_proxy support.
246 - RequestsCookieJar improvements.
252 - New ``Response.json`` property.
253 - Ability to add string file uploads.
254 - Fix out-of-range issue with iter_lines.
255 - Fix iter_content default size.
256 - Fix POST redirects containing files.
261 - EXPERIMENTAL OAUTH SUPPORT!
262 - Proper CookieJar-backed cookies interface with awesome dict-like interface.
263 - Speed fix for non-iterated content chunks.
264 - Move ``pre_request`` to a more usable place.
265 - New ``pre_send`` hook.
266 - Lazily encode data, params, files.
267 - Load system Certificate Bundle if ``certify`` isn't available.
273 - Attempt to use the OS's certificate bundle if ``certifi`` isn't available.
274 - Infinite digest auth redirect fix.
275 - Multi-part file upload improvements.
276 - Fix decoding of invalid %encodings in URLs.
277 - If there is no content in a response don't throw an error the second time that content is attempted to be read.
278 - Upload data on redirects.
283 * POST redirects now break RFC to do what browsers do: Follow up with a GET.
284 * New ``strict_mode`` configuration to disable new redirect behavior.
290 * Private SSL Certificate support
291 * Remove select.poll from Gevent monkeypatching
292 * Remove redundant generator for chunked transfer encoding
293 * Fix: Response.ok raises Timeout Exception in safe_mode
298 * Generate chunked ValueError fix
299 * Proxy configuration by environment variables
300 * Simplification of iter_lines.
301 * New `trust_env` configuration for disabling system/environment hints.
302 * Suppress cookie errors.
307 * `encode_uri` = False
312 * Allow '=' in cookies.
317 * Response body with 0 content-length fix.
319 * Don't fail on netrc.
330 * HEAD requests don't follow redirects anymore.
331 * raise_for_status() doesn't raise for 3xx anymore.
332 * Make Session objects picklable.
333 * ValueError for invalid schema URLs.
338 * Vastly improved URL quoting.
339 * Additional allowed cookie key values.
340 * Attempted fix for "Too many open files" Error
341 * Replace unicode errors on first pass, no need for second pass.
342 * Append '/' to bare-domain urls before query insertion.
343 * Exceptions now inherit from RuntimeError.
344 * Binary uploads + auth fix.
352 * Dropped 2.5 Support. (*Backwards Incompatible*)
357 * ``Response.content`` is now bytes-only. (*Backwards Incompatible*)
358 * New ``Response.text`` is unicode-only.
359 * If no ``Response.encoding`` is specified and ``chardet`` is available, ``Respoonse.text`` will guess an encoding.
360 * Default to ISO-8859-1 (Western) encoding for "text" subtypes.
361 * Removal of `decode_unicode`. (*Backwards Incompatible*)
362 * New multiple-hooks system.
363 * New ``Response.register_hook`` for registering hooks within the pipeline.
364 * ``Response.url`` is now Unicode.
369 * SSL verify=False bugfix (apparent on windows machines).
374 * Asynchronous async.send method.
375 * Support for proper chunk streams with boundaries.
376 * session argument for Session classes.
377 * Print entire hook tracebacks, not just exception instance.
378 * Fix response.iter_lines from pending next line.
379 * Fix but in HTTP-digest auth w/ URI having query strings.
380 * Fix in Event Hooks section.
387 * danger_mode for automatic Response.raise_for_status()
388 * Response.iter_lines refactor
393 * verify ssl is default.
405 * SSL CERT VERIFICATION!
406 * Release of Cerifi: Mozilla's cert list.
407 * New 'verify' argument for SSL requests.
413 * iter_lines last-line truncation fix
414 * Force safe_mode for async requests
415 * Handle safe_mode exceptions more consistently
416 * Fix iteration on null responses in safe_mode
421 * Socket timeout fixes.
422 * Proxy Authorization support.
427 * Response.iter_lines!
433 * Added license to installed version.
438 * Converted auth system to use simpler callable objects.
439 * New session parameter to API methods.
440 * Display full URL while logging.
445 * New Unicode decoding system, based on over-ridable `Response.encoding`.
446 * Proper URL slash-quote handling.
447 * Cookies with ``[``, ``]``, and ``_`` allowed.
452 * URL Request path fix
459 * Keep-alive support!
460 * Complete removal of Urllib2
461 * Complete removal of Poster
462 * Complete removal of CookieJars
463 * New ConnectionError raising
464 * Safe_mode for error catching
465 * prefetch parameter for request methods
467 * Async pool size throttling
468 * File uploads send real names
469 * Vendored in urllib3
474 * Digest authentication bugfix (attach query data to path)
479 * Response.content = None if there was an invalid repsonse.
480 * Redirection auth handling.
502 * Move away from urllib2 authentication handling.
503 * Fully Remove AuthManager, AuthObject, &c.
504 * New tuple-based auth system with handler callbacks.
510 * Sessions are now the primary interface.
511 * Deprecated InvalidMethodException.
513 * New config system (no more global settings).
519 * Session parameter bugfix (params merging).
525 * Offline (fast) test suite.
526 * Session dictionary argument merging.
532 * Automatic decoding of unicode, based on HTTP Headers.
533 * New ``decode_unicode`` setting.
534 * Removal of ``r.read/close`` methods.
535 * New ``r.faw`` interface for advanced response usage.*
536 * Automatic expansion of parameterized headers.
542 * Beautiful ``requests.async`` module, for making async requests w/ gevent.
548 * GET/HEAD obeys allow_redirects=False.
554 * Enhanced status codes experience ``\o/``
555 * Set a maximum number of redirects (``settings.max_redirects``)
556 * Full Unicode URL support
557 * Support for protocol-less redirects.
558 * Allow for arbitrary request types.
565 * New callback hook system
566 * New persistient sessions object and context manager
567 * Transparent Dict-cookie handling
568 * Status code reference object
569 * Removed Response.cached
570 * Added Response.request
571 * All args are kwargs
572 * Relative redirect support
573 * HTTPError handling improvements
574 * Improved https testing
581 * International Domain Name Support!
582 * Access headers without fetching entire body (``read()``)
583 * Use lists as dicts for parameters
584 * Add Forced Basic Authentication
585 * Forced Basic is default authentication type
586 * ``python-requests.org`` default User-Agent header
587 * CaseInsensitiveDict lower-case caching
588 * Response.history bugfix
595 * Support for Proxies
598 * settings.verbose stream writing
599 * Querystrings for all methods
600 * URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicity raised
601 ``r.requests.get('hwe://blah'); r.raise_for_status()``
607 * Improved Redirection Handling
608 * New 'allow_redirects' param for following non-GET/HEAD Redirects
609 * Settings module refactoring
615 * Response.history: list of redirected responses
616 * Case-Insensitive Header Dictionaries!
623 * Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
625 * Bytes data upload Bugfix
633 * Unicode url-encoded data
634 * Settings context manager and module
640 * Automatic Decompression of GZip Encoded Content
641 * AutoAuth Support for Tupled HTTP Auth
655 * Automatic Authentication API Change
656 * Smarter Query URL Parameterization
657 * Allow file uploads and POST data together
658 * New Authentication Manager System
659 - Simpler Basic HTTP System
660 - Supports all build-in urllib2 Auths
661 - Allows for custom Auth Handlers
668 * PyPy-c v1.4 Support
669 * Auto-Authentication tests
670 * Improved Request object constructor
675 * New HTTPHandling Methods
676 - Response.__nonzero__ (false if bad HTTP Status)
677 - Response.ok (True if expected HTTP Status)
678 - Response.error (Logged HTTPError if bad HTTP Status)
679 - Response.raise_for_status() (Raises stored HTTPError)
685 * Still handles request in the event of an HTTPError. (Issue #2)
686 * Eventlet and Gevent Monkeypatch support.
687 * Cookie Support (Issue #1)
693 * Added file attribute to POST and PUT requests for multipart-encode file uploads.
694 * Added Request.url attribute for context and redirects