Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Side by Side Diff: third_party/google-endpoints/requests-2.13.0.dist-info/METADATA

Issue 2666783008: Add google-endpoints to third_party/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Metadata-Version: 2.0
2 Name: requests
3 Version: 2.13.0
4 Summary: Python HTTP for Humans.
5 Home-page: http://python-requests.org
6 Author: Kenneth Reitz
7 Author-email: me@kennethreitz.com
8 License: Apache 2.0
9 Platform: UNKNOWN
10 Classifier: Development Status :: 5 - Production/Stable
11 Classifier: Intended Audience :: Developers
12 Classifier: Natural Language :: English
13 Classifier: License :: OSI Approved :: Apache Software License
14 Classifier: Programming Language :: Python
15 Classifier: Programming Language :: Python :: 2.6
16 Classifier: Programming Language :: Python :: 2.7
17 Classifier: Programming Language :: Python :: 3
18 Classifier: Programming Language :: Python :: 3.3
19 Classifier: Programming Language :: Python :: 3.4
20 Classifier: Programming Language :: Python :: 3.5
21 Classifier: Programming Language :: Python :: 3.6
22 Classifier: Programming Language :: Python :: Implementation :: CPython
23 Classifier: Programming Language :: Python :: Implementation :: PyPy
24 Provides-Extra: security
25 Requires-Dist: cryptography (>=1.3.4); extra == 'security'
26 Requires-Dist: idna (>=2.0.0); extra == 'security'
27 Requires-Dist: pyOpenSSL (>=0.14); extra == 'security'
28 Provides-Extra: socks
29 Requires-Dist: PySocks (!=1.5.7,>=1.5.6); extra == 'socks'
30
31 Requests: HTTP for Humans
32 =========================
33
34 .. image:: https://img.shields.io/pypi/v/requests.svg
35 :target: https://pypi.python.org/pypi/requests
36
37 .. image:: https://img.shields.io/pypi/l/requests.svg
38 :target: https://pypi.python.org/pypi/requests
39
40 .. image:: https://img.shields.io/pypi/wheel/requests.svg
41 :target: https://pypi.python.org/pypi/requests
42
43 .. image:: https://img.shields.io/pypi/pyversions/requests.svg
44 :target: https://pypi.python.org/pypi/requests
45
46 .. image:: https://travis-ci.org/kennethreitz/requests.svg?branch=master
47 :target: https://travis-ci.org/kennethreitz/requests
48
49 .. image:: https://codecov.io/github/kennethreitz/requests/coverage.svg?branch=m aster
50 :target: https://codecov.io/github/kennethreitz/requests
51 :alt: codecov.io
52
53 .. image:: https://img.shields.io/badge/SayThanks.io-☼-1EAEDB.svg
54 :target: https://saythanks.io/to/kennethreitz
55
56
57
58 Requests is the only *Non-GMO* HTTP library for Python, safe for human
59 consumption.
60
61 **Warning:** Recreational use of other HTTP libraries may result in dangerous si de-effects,
62 including: security vulnerabilities, verbose code, reinventing the wheel,
63 constantly reading documentation, depression, headaches, or even death.
64
65 Behold, the power of Requests:
66
67 .. code-block:: python
68
69 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
70 >>> r.status_code
71 200
72 >>> r.headers['content-type']
73 'application/json; charset=utf8'
74 >>> r.encoding
75 'utf-8'
76 >>> r.text
77 u'{"type":"User"...'
78 >>> r.json()
79 {u'disk_usage': 368627, u'private_gists': 484, ...}
80
81 See `the similar code, sans Requests <https://gist.github.com/973705>`_.
82
83 .. image:: http://docs.python-requests.org/en/master/_static/requests-sidebar.pn g
84 :target: http://docs.python-requests.org/
85
86
87 Requests allows you to send *organic, grass-fed* HTTP/1.1 requests, without the
88 need for manual labor. There's no need to manually add query strings to your
89 URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling
90 are 100% automatic, powered by `urllib3 <https://github.com/shazow/urllib3>`_,
91 which is embedded within Requests.
92
93 Besides, all the cool kids are doing it. Requests is one of the most
94 downloaded Python packages of all time, pulling in over 7,000,000 downloads
95 every month. You don't want to be left out!
96
97 Feature Support
98 ---------------
99
100 Requests is ready for today's web.
101
102 - International Domains and URLs
103 - Keep-Alive & Connection Pooling
104 - Sessions with Cookie Persistence
105 - Browser-style SSL Verification
106 - Basic/Digest Authentication
107 - Elegant Key/Value Cookies
108 - Automatic Decompression
109 - Automatic Content Decoding
110 - Unicode Response Bodies
111 - Multipart File Uploads
112 - HTTP(S) Proxy Support
113 - Connection Timeouts
114 - Streaming Downloads
115 - ``.netrc`` Support
116 - Chunked Requests
117 - Thread-safety
118
119 Requests officially supports Python 2.6–2.7 & 3.3–3.7, and runs great on PyPy.
120
121 Installation
122 ------------
123
124 To install Requests, simply:
125
126 .. code-block:: bash
127
128 $ pip install requests
129 ✨🍰✨
130
131 Satisfaction, guaranteed.
132
133 Documentation
134 -------------
135
136 Fantastic documentation is available at http://docs.python-requests.org/, for a limited time only.
137
138
139 How to Contribute
140 -----------------
141
142 #. Check for open issues or open a fresh issue to start a discussion around a fe ature idea or a bug. There is a `Contributor Friendly`_ tag for issues that shou ld be ideal for people who are not very familiar with the codebase yet.
143 #. Fork `the repository`_ on GitHub to start making your changes to the **master ** branch (or branch off of it).
144 #. Write a test which shows that the bug was fixed or that the feature works as expected.
145 #. Send a pull request and bug the maintainer until it gets merged and published . :) Make sure to add yourself to AUTHORS_.
146
147 .. _`the repository`: http://github.com/kennethreitz/requests
148 .. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst
149 .. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direct ion=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open
150
151
152 .. :changelog:
153
154 Release History
155 ---------------
156
157 2.13.0 (2017-01-24)
158 +++++++++++++++++++
159
160 **Features**
161
162 - Only load the ``idna`` library when we've determined we need it. This will
163 save some memory for users.
164
165 **Miscellaneous**
166
167 - Updated bundled urllib3 to 1.20.
168 - Updated bundled idna to 2.2.
169
170 2.12.5 (2017-01-18)
171 +++++++++++++++++++
172
173 **Bugfixes**
174
175 - Fixed an issue with JSON encoding detection, specifically detecting
176 big-endian UTF-32 with BOM.
177
178 2.12.4 (2016-12-14)
179 +++++++++++++++++++
180
181 **Bugfixes**
182
183 - Fixed regression from 2.12.2 where non-string types were rejected in the
184 basic auth parameters. While support for this behaviour has been readded,
185 the behaviour is deprecated and will be removed in the future.
186
187 2.12.3 (2016-12-01)
188 +++++++++++++++++++
189
190 **Bugfixes**
191
192 - Fixed regression from v2.12.1 for URLs with schemes that begin with "http".
193 These URLs have historically been processed as though they were HTTP-schemed
194 URLs, and so have had parameters added. This was removed in v2.12.2 in an
195 overzealous attempt to resolve problems with IDNA-encoding those URLs. This
196 change was reverted: the other fixes for IDNA-encoding have been judged to
197 be sufficient to return to the behaviour Requests had before v2.12.0.
198
199 2.12.2 (2016-11-30)
200 +++++++++++++++++++
201
202 **Bugfixes**
203
204 - Fixed several issues with IDNA-encoding URLs that are technically invalid but
205 which are widely accepted. Requests will now attempt to IDNA-encode a URL if
206 it can but, if it fails, and the host contains only ASCII characters, it will
207 be passed through optimistically. This will allow users to opt-in to using
208 IDNA2003 themselves if they want to, and will also allow technically invalid
209 but still common hostnames.
210 - Fixed an issue where URLs with leading whitespace would raise
211 ``InvalidSchema`` errors.
212 - Fixed an issue where some URLs without the HTTP or HTTPS schemes would still
213 have HTTP URL preparation applied to them.
214 - Fixed an issue where Unicode strings could not be used in basic auth.
215 - Fixed an issue encountered by some Requests plugins where constructing a
216 Response object would cause ``Response.content`` to raise an
217 ``AttributeError``.
218
219 2.12.1 (2016-11-16)
220 +++++++++++++++++++
221
222 **Bugfixes**
223
224 - Updated setuptools 'security' extra for the new PyOpenSSL backend in urllib3.
225
226 **Miscellaneous**
227
228 - Updated bundled urllib3 to 1.19.1.
229
230 2.12.0 (2016-11-15)
231 +++++++++++++++++++
232
233 **Improvements**
234
235 - Updated support for internationalized domain names from IDNA2003 to IDNA2008.
236 This updated support is required for several forms of IDNs and is mandatory
237 for .de domains.
238 - Much improved heuristics for guessing content lengths: Requests will no
239 longer read an entire ``StringIO`` into memory.
240 - Much improved logic for recalculating ``Content-Length`` headers for
241 ``PreparedRequest`` objects.
242 - Improved tolerance for file-like objects that have no ``tell`` method but
243 do have a ``seek`` method.
244 - Anything that is a subclass of ``Mapping`` is now treated like a dictionary
245 by the ``data=`` keyword argument.
246 - Requests now tolerates empty passwords in proxy credentials, rather than
247 stripping the credentials.
248 - If a request is made with a file-like object as the body and that request is
249 redirected with a 307 or 308 status code, Requests will now attempt to
250 rewind the body object so it can be replayed.
251
252 **Bugfixes**
253
254 - When calling ``response.close``, the call to ``close`` will be propagated
255 through to non-urllib3 backends.
256 - Fixed issue where the ``ALL_PROXY`` environment variable would be preferred
257 over scheme-specific variables like ``HTTP_PROXY``.
258 - Fixed issue where non-UTF8 reason phrases got severely mangled by falling
259 back to decoding using ISO 8859-1 instead.
260 - Fixed a bug where Requests would not correctly correlate cookies set when
261 using custom Host headers if those Host headers did not use the native
262 string type for the platform.
263
264 **Miscellaneous**
265
266 - Updated bundled urllib3 to 1.19.
267 - Updated bundled certifi certs to 2016.09.26.
268
269 2.11.1 (2016-08-17)
270 +++++++++++++++++++
271
272 **Bugfixes**
273
274 - Fixed a bug when using ``iter_content`` with ``decode_unicode=True`` for
275 streamed bodies would raise ``AttributeError``. This bug was introduced in
276 2.11.
277 - Strip Content-Type and Transfer-Encoding headers from the header block when
278 following a redirect that transforms the verb from POST/PUT to GET.
279
280 2.11.0 (2016-08-08)
281 +++++++++++++++++++
282
283 **Improvements**
284
285 - Added support for the ``ALL_PROXY`` environment variable.
286 - Reject header values that contain leading whitespace or newline characters to
287 reduce risk of header smuggling.
288
289 **Bugfixes**
290
291 - Fixed occasional ``TypeError`` when attempting to decode a JSON response that
292 occurred in an error case. Now correctly returns a ``ValueError``.
293 - Requests would incorrectly ignore a non-CIDR IP address in the ``NO_PROXY``
294 environment variables: Requests now treats it as a specific IP.
295 - Fixed a bug when sending JSON data that could cause us to encounter obscure
296 OpenSSL errors in certain network conditions (yes, really).
297 - Added type checks to ensure that ``iter_content`` only accepts integers and
298 ``None`` for chunk sizes.
299 - Fixed issue where responses whose body had not been fully consumed would have
300 the underlying connection closed but not returned to the connection pool,
301 which could cause Requests to hang in situations where the ``HTTPAdapter``
302 had been configured to use a blocking connection pool.
303
304 **Miscellaneous**
305
306 - Updated bundled urllib3 to 1.16.
307 - Some previous releases accidentally accepted non-strings as acceptable header values. This release does not.
308
309 2.10.0 (2016-04-29)
310 +++++++++++++++++++
311
312 **New Features**
313
314 - SOCKS Proxy Support! (requires PySocks; ``$ pip install requests[socks]``)
315
316 **Miscellaneous**
317
318 - Updated bundled urllib3 to 1.15.1.
319
320 2.9.2 (2016-04-29)
321 ++++++++++++++++++
322
323 **Improvements**
324
325 - Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
326 as its underlying datastore.
327
328 **Bugfixes**
329
330 - Don't use redirect_cache if allow_redirects=False
331 - When passed objects that throw exceptions from ``tell()``, send them via
332 chunked transfer encoding instead of failing.
333 - Raise a ProxyError for proxy related connection issues.
334
335 2.9.1 (2015-12-21)
336 ++++++++++++++++++
337
338 **Bugfixes**
339
340 - Resolve regression introduced in 2.9.0 that made it impossible to send binary
341 strings as bodies in Python 3.
342 - Fixed errors when calculating cookie expiration dates in certain locales.
343
344 **Miscellaneous**
345
346 - Updated bundled urllib3 to 1.13.1.
347
348 2.9.0 (2015-12-15)
349 ++++++++++++++++++
350
351 **Minor Improvements** (Backwards compatible)
352
353 - The ``verify`` keyword argument now supports being passed a path to a
354 directory of CA certificates, not just a single-file bundle.
355 - Warnings are now emitted when sending files opened in text mode.
356 - Added the 511 Network Authentication Required status code to the status code
357 registry.
358
359 **Bugfixes**
360
361 - For file-like objects that are not seeked to the very beginning, we now
362 send the content length for the number of bytes we will actually read, rather
363 than the total size of the file, allowing partial file uploads.
364 - When uploading file-like objects, if they are empty or have no obvious
365 content length we set ``Transfer-Encoding: chunked`` rather than
366 ``Content-Length: 0``.
367 - We correctly receive the response in buffered mode when uploading chunked
368 bodies.
369 - We now handle being passed a query string as a bytestring on Python 3, by
370 decoding it as UTF-8.
371 - Sessions are now closed in all cases (exceptional and not) when using the
372 functional API rather than leaking and waiting for the garbage collector to
373 clean them up.
374 - Correctly handle digest auth headers with a malformed ``qop`` directive that
375 contains no token, by treating it the same as if no ``qop`` directive was
376 provided at all.
377 - Minor performance improvements when removing specific cookies by name.
378
379 **Miscellaneous**
380
381 - Updated urllib3 to 1.13.
382
383 2.8.1 (2015-10-13)
384 ++++++++++++++++++
385
386 **Bugfixes**
387
388 - Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate
389 bundle.
390 - Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
391 ``ConnectionError``
392 - When using the PreparedRequest flow, requests will now correctly respect the
393 ``json`` parameter. Broken in 2.8.0.
394 - When using the PreparedRequest flow, requests will now correctly handle a
395 Unicode-string method name on Python 2. Broken in 2.8.0.
396
397 2.8.0 (2015-10-05)
398 ++++++++++++++++++
399
400 **Minor Improvements** (Backwards Compatible)
401
402 - Requests now supports per-host proxies. This allows the ``proxies``
403 dictionary to have entries of the form
404 ``{'<scheme>://<hostname>': '<proxy>'}``. Host-specific proxies will be used
405 in preference to the previously-supported scheme-specific ones, but the
406 previous syntax will continue to work.
407 - ``Response.raise_for_status`` now prints the URL that failed as part of the
408 exception message.
409 - ``requests.utils.get_netrc_auth`` now takes an ``raise_errors`` kwarg,
410 defaulting to ``False``. When ``True``, errors parsing ``.netrc`` files cause
411 exceptions to be thrown.
412 - Change to bundled projects import logic to make it easier to unbundle
413 requests downstream.
414 - Changed the default User-Agent string to avoid leaking data on Linux: now
415 contains only the requests version.
416
417 **Bugfixes**
418
419 - The ``json`` parameter to ``post()`` and friends will now only be used if
420 neither ``data`` nor ``files`` are present, consistent with the
421 documentation.
422 - We now ignore empty fields in the ``NO_PROXY`` environment variable.
423 - Fixed problem where ``httplib.BadStatusLine`` would get raised if combining
424 ``stream=True`` with ``contextlib.closing``.
425 - Prevented bugs where we would attempt to return the same connection back to
426 the connection pool twice when sending a Chunked body.
427 - Miscellaneous minor internal changes.
428 - Digest Auth support is now thread safe.
429
430 **Updates**
431
432 - Updated urllib3 to 1.12.
433
434 2.7.0 (2015-05-03)
435 ++++++++++++++++++
436
437 This is the first release that follows our new release process. For more, see
438 `our documentation
439 <http://docs.python-requests.org/en/latest/community/release-process/>`_.
440
441 **Bugfixes**
442
443 - Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer
444 encoding and response framing.
445
446 2.6.2 (2015-04-23)
447 ++++++++++++++++++
448
449 **Bugfixes**
450
451 - Fix regression where compressed data that was sent as chunked data was not
452 properly decompressed. (#2561)
453
454 2.6.1 (2015-04-22)
455 ++++++++++++++++++
456
457 **Bugfixes**
458
459 - Remove VendorAlias import machinery introduced in v2.5.2.
460
461 - Simplify the PreparedRequest.prepare API: We no longer require the user to
462 pass an empty list to the hooks keyword argument. (c.f. #2552)
463
464 - Resolve redirects now receives and forwards all of the original arguments to
465 the adapter. (#2503)
466
467 - Handle UnicodeDecodeErrors when trying to deal with a unicode URL that
468 cannot be encoded in ASCII. (#2540)
469
470 - Populate the parsed path of the URI field when performing Digest
471 Authentication. (#2426)
472
473 - Copy a PreparedRequest's CookieJar more reliably when it is not an instance
474 of RequestsCookieJar. (#2527)
475
476 2.6.0 (2015-03-14)
477 ++++++++++++++++++
478
479 **Bugfixes**
480
481 - CVE-2015-2296: Fix handling of cookies on redirect. Previously a cookie
482 without a host value set would use the hostname for the redirected URL
483 exposing requests users to session fixation attacks and potentially cookie
484 stealing. This was disclosed privately by Matthew Daley of
485 `BugFuzz <https://bugfuzz.com>`_. This affects all versions of requests from
486 v2.1.0 to v2.5.3 (inclusive on both ends).
487
488 - Fix error when requests is an ``install_requires`` dependency and ``python
489 setup.py test`` is run. (#2462)
490
491 - Fix error when urllib3 is unbundled and requests continues to use the
492 vendored import location.
493
494 - Include fixes to ``urllib3``'s header handling.
495
496 - Requests' handling of unvendored dependencies is now more restrictive.
497
498 **Features and Improvements**
499
500 - Support bytearrays when passed as parameters in the ``files`` argument.
501 (#2468)
502
503 - Avoid data duplication when creating a request with ``str``, ``bytes``, or
504 ``bytearray`` input to the ``files`` argument.
505
506 2.5.3 (2015-02-24)
507 ++++++++++++++++++
508
509 **Bugfixes**
510
511 - Revert changes to our vendored certificate bundle. For more context see
512 (#2455, #2456, and http://bugs.python.org/issue23476)
513
514 2.5.2 (2015-02-23)
515 ++++++++++++++++++
516
517 **Features and Improvements**
518
519 - Add sha256 fingerprint support. (`shazow/urllib3#540`_)
520
521 - Improve the performance of headers. (`shazow/urllib3#544`_)
522
523 **Bugfixes**
524
525 - Copy pip's import machinery. When downstream redistributors remove
526 requests.packages.urllib3 the import machinery will continue to let those
527 same symbols work. Example usage in requests' documentation and 3rd-party
528 libraries relying on the vendored copies of urllib3 will work without having
529 to fallback to the system urllib3.
530
531 - Attempt to quote parts of the URL on redirect if unquoting and then quoting
532 fails. (#2356)
533
534 - Fix filename type check for multipart form-data uploads. (#2411)
535
536 - Properly handle the case where a server issuing digest authentication
537 challenges provides both auth and auth-int qop-values. (#2408)
538
539 - Fix a socket leak. (`shazow/urllib3#549`_)
540
541 - Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)
542
543 - Disable the built-in hostname verification. (`shazow/urllib3#526`_)
544
545 - Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)
546
547 **Security**
548
549 - Pulled in an updated ``cacert.pem``.
550
551 - Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)
552
553 .. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551
554 .. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549
555 .. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544
556 .. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540
557 .. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535
558 .. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534
559 .. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/526
560
561 2.5.1 (2014-12-23)
562 ++++++++++++++++++
563
564 **Behavioural Changes**
565
566 - Only catch HTTPErrors in raise_for_status (#2382)
567
568 **Bugfixes**
569
570 - Handle LocationParseError from urllib3 (#2344)
571 - Handle file-like object filenames that are not strings (#2379)
572 - Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated (#2389)
573
574 2.5.0 (2014-12-01)
575 ++++++++++++++++++
576
577 **Improvements**
578
579 - Allow usage of urllib3's Retry object with HTTPAdapters (#2216)
580 - The ``iter_lines`` method on a response now accepts a delimiter with which
581 to split the content (#2295)
582
583 **Behavioural Changes**
584
585 - Add deprecation warnings to functions in requests.utils that will be removed
586 in 3.0 (#2309)
587 - Sessions used by the functional API are always closed (#2326)
588 - Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9) (#2323)
589
590 **Bugfixes**
591
592 - Only parse the URL once (#2353)
593 - Allow Content-Length header to always be overridden (#2332)
594 - Properly handle files in HTTPDigestAuth (#2333)
595 - Cap redirect_cache size to prevent memory abuse (#2299)
596 - Fix HTTPDigestAuth handling of redirects after authenticating successfully
597 (#2253)
598 - Fix crash with custom method parameter to Session.request (#2317)
599 - Fix how Link headers are parsed using the regular expression library (#2271)
600
601 **Documentation**
602
603 - Add more references for interlinking (#2348)
604 - Update CSS for theme (#2290)
605 - Update width of buttons and sidebar (#2289)
606 - Replace references of Gittip with Gratipay (#2282)
607 - Add link to changelog in sidebar (#2273)
608
609 2.4.3 (2014-10-06)
610 ++++++++++++++++++
611
612 **Bugfixes**
613
614 - Unicode URL improvements for Python 2.
615 - Re-order JSON param for backwards compat.
616 - Automatically defrag authentication schemes from host/pass URIs. (`#2249 <http s://github.com/kennethreitz/requests/issues/2249>`_)
617
618
619 2.4.2 (2014-10-05)
620 ++++++++++++++++++
621
622 **Improvements**
623
624 - FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethre itz/requests/pull/2258>`_)
625 - Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethr eitz/requests/pull/2238>`_)
626
627 **Bugfixes**
628
629 - Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/request s/pull/2244>`_)
630 - Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com /kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/r equests/issues/2241>`_)
631
632 **Documentation**
633
634 - Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requ ests/pull/2245/>`_)
635 - Added example of how to send multiple files in one request. (`#2227 <https://g ithub.com/kennethreitz/requests/pull/2227/>`_)
636 - Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethrei tz/requests/pull/2248/>`_)
637
638
639
640 2.4.1 (2014-09-09)
641 ++++++++++++++++++
642
643 - Now has a "security" package extras set, ``$ pip install requests[security]``
644 - Requests will now use Certifi if it is available.
645 - Capture and re-raise urllib3 ProtocolError
646 - Bugfix for responses that attempt to redirect to themselves forever (wtf?).
647
648
649 2.4.0 (2014-08-29)
650 ++++++++++++++++++
651
652 **Behavioral Changes**
653
654 - ``Connection: keep-alive`` header is now sent automatically.
655
656 **Improvements**
657
658 - Support for connect timeouts! Timeout now accepts a tuple (connect, read) whic h is used to set individual connect and read timeouts.
659 - Allow copying of PreparedRequests without headers/cookies.
660 - Updated bundled urllib3 version.
661 - Refactored settings loading from environment -- new `Session.merge_environment _settings`.
662 - Handle socket errors in iter_content.
663
664
665 2.3.0 (2014-05-16)
666 ++++++++++++++++++
667
668 **API Changes**
669
670 - New ``Response`` property ``is_redirect``, which is true when the
671 library could have processed this response as a redirection (whether
672 or not it actually did).
673 - The ``timeout`` parameter now affects requests with both ``stream=True`` and
674 ``stream=False`` equally.
675 - The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
676 Proxy schemes now default to ``http://``.
677 - The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
678 dictionary when references as string or viewed in the interpreter.
679
680 **Bugfixes**
681
682 - No longer expose Authorization or Proxy-Authorization headers on redirect.
683 Fix CVE-2014-1829 and CVE-2014-1830 respectively.
684 - Authorization is re-evaluated each redirect.
685 - On redirect, pass url as native strings.
686 - Fall-back to autodetected encoding for JSON when Unicode detection fails.
687 - Headers set to ``None`` on the ``Session`` are now correctly not sent.
688 - Correctly honor ``decode_unicode`` even if it wasn't used earlier in the same
689 response.
690 - Stop advertising ``compress`` as a supported Content-Encoding.
691 - The ``Response.history`` parameter is now always a list.
692 - Many, many ``urllib3`` bugfixes.
693
694 2.2.1 (2014-01-23)
695 ++++++++++++++++++
696
697 **Bugfixes**
698
699 - Fixes incorrect parsing of proxy credentials that contain a literal or encoded '#' character.
700 - Assorted urllib3 fixes.
701
702 2.2.0 (2014-01-09)
703 ++++++++++++++++++
704
705 **API Changes**
706
707 - New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
708 ``DecodeError`` exceptions.
709
710 **Bugfixes**
711
712 - Avoid many many exceptions from the buggy implementation of ``proxy_bypass`` o n OS X in Python 2.6.
713 - Avoid crashing when attempting to get authentication credentials from ~/.netrc when running as a user without a home directory.
714 - Use the correct pool size for pools of connections to proxies.
715 - Fix iteration of ``CookieJar`` objects.
716 - Ensure that cookies are persisted over redirect.
717 - Switch back to using chardet, since it has merged with charade.
718
719 2.1.0 (2013-12-05)
720 ++++++++++++++++++
721
722 - Updated CA Bundle, of course.
723 - Cookies set on individual Requests through a ``Session`` (e.g. via ``Session.g et()``) are no longer persisted to the ``Session``.
724 - Clean up connections when we hit problems during chunked upload, rather than l eaking them.
725 - Return connections to the pool when a chunked upload is successful, rather tha n leaking it.
726 - Match the HTTPbis recommendation for HTTP 301 redirects.
727 - Prevent hanging when using streaming uploads and Digest Auth when a 401 is rec eived.
728 - Values of headers set by Requests are now always the native string type.
729 - Fix previously broken SNI support.
730 - Fix accessing HTTP proxies using proxy authentication.
731 - Unencode HTTP Basic usernames and passwords extracted from URLs.
732 - Support for IP address ranges for no_proxy environment variable
733 - Parse headers correctly when users override the default ``Host:`` header.
734 - Avoid munging the URL in case of case-sensitive servers.
735 - Looser URL handling for non-HTTP/HTTPS urls.
736 - Accept unicode methods in Python 2.6 and 2.7.
737 - More resilient cookie handling.
738 - Make ``Response`` objects pickleable.
739 - Actually added MD5-sess to Digest Auth instead of pretending to like last time .
740 - Updated internal urllib3.
741 - Fixed @Lukasa's lack of taste.
742
743 2.0.1 (2013-10-24)
744 ++++++++++++++++++
745
746 - Updated included CA Bundle with new mistrusts and automated process for the fu ture
747 - Added MD5-sess to Digest Auth
748 - Accept per-file headers in multipart file POST messages.
749 - Fixed: Don't send the full URL on CONNECT messages.
750 - Fixed: Correctly lowercase a redirect scheme.
751 - Fixed: Cookies not persisted when set via functional API.
752 - Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from Co nnectionError.
753 - Updated internal urllib3 and chardet.
754
755 2.0.0 (2013-09-24)
756 ++++++++++++++++++
757
758 **API Changes:**
759
760 - Keys in the Headers dictionary are now native strings on all Python versions,
761 i.e. bytestrings on Python 2, unicode on Python 3.
762 - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
763 will be raised if they don't.
764 - Timeouts now apply to read time if ``Stream=False``.
765 - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
766 - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
767 - Added new method to ``Session`` objects: ``Session.update_request()``. This
768 method updates a ``Request`` object with the data (e.g. cookies) stored on
769 the ``Session``.
770 - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
771 method updates and prepares a ``Request`` object, and returns the
772 corresponding ``PreparedRequest`` object.
773 - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
774 This should not be called directly, but improves the subclass interface.
775 - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
776 will now raise a Requests ``ChunkedEncodingError`` instead.
777 - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
778 exception to be raised.
779 - HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses
780 ``"already_reported"``.
781 - HTTP 226 reason added (``"im_used"``).
782
783 **Bugfixes:**
784
785 - Vastly improved proxy support, including the CONNECT verb. Special thanks to
786 the many contributors who worked towards this improvement.
787 - Cookies are now properly managed when 401 authentication responses are
788 received.
789 - Chunked encoding fixes.
790 - Support for mixed case schemes.
791 - Better handling of streaming downloads.
792 - Retrieve environment proxies from more locations.
793 - Minor cookies fixes.
794 - Improved redirect behaviour.
795 - Improved streaming behaviour, particularly for compressed data.
796 - Miscellaneous small Python 3 text encoding bugs.
797 - ``.netrc`` no longer overrides explicit auth.
798 - Cookies set by hooks are now correctly persisted on Sessions.
799 - Fix problem with cookies that specify port numbers in their host field.
800 - ``BytesIO`` can be used to perform streaming uploads.
801 - More generous parsing of the ``no_proxy`` environment variable.
802 - Non-string objects can be passed in data values alongside files.
803
804 1.2.3 (2013-05-25)
805 ++++++++++++++++++
806
807 - Simple packaging fix
808
809
810 1.2.2 (2013-05-23)
811 ++++++++++++++++++
812
813 - Simple packaging fix
814
815
816 1.2.1 (2013-05-20)
817 ++++++++++++++++++
818
819 - 301 and 302 redirects now change the verb to GET for all verbs, not just
820 POST, improving browser compatibility.
821 - Python 3.3.2 compatibility
822 - Always percent-encode location headers
823 - Fix connection adapter matching to be most-specific first
824 - new argument to the default connection adapter for passing a block argument
825 - prevent a KeyError when there's no link headers
826
827 1.2.0 (2013-03-31)
828 ++++++++++++++++++
829
830 - Fixed cookies on sessions and on requests
831 - Significantly change how hooks are dispatched - hooks now receive all the
832 arguments specified by the user when making a request so hooks can make a
833 secondary request with the same parameters. This is especially necessary for
834 authentication handler authors
835 - certifi support was removed
836 - Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
837 - Major proxy work thanks to @Lukasa including parsing of proxy authentication
838 from the proxy url
839 - Fix DigestAuth handling too many 401s
840 - Update vendored urllib3 to include SSL bug fixes
841 - Allow keyword arguments to be passed to ``json.loads()`` via the
842 ``Response.json()`` method
843 - Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
844 requests
845 - Add ``elapsed`` attribute to ``Response`` objects to time how long a request
846 took.
847 - Fix ``RequestsCookieJar``
848 - Sessions and Adapters are now picklable, i.e., can be used with the
849 multiprocessing library
850 - Update charade to version 1.0.3
851
852 The change in how hooks are dispatched will likely cause a great deal of
853 issues.
854
855 1.1.0 (2013-01-10)
856 ++++++++++++++++++
857
858 - CHUNKED REQUESTS
859 - Support for iterable response bodies
860 - Assume servers persist redirect params
861 - Allow explicit content types to be specified for file data
862 - Make merge_kwargs case-insensitive when looking up keys
863
864 1.0.3 (2012-12-18)
865 ++++++++++++++++++
866
867 - Fix file upload encoding bug
868 - Fix cookie behavior
869
870 1.0.2 (2012-12-17)
871 ++++++++++++++++++
872
873 - Proxy fix for HTTPAdapter.
874
875 1.0.1 (2012-12-17)
876 ++++++++++++++++++
877
878 - Cert verification exception bug.
879 - Proxy fix for HTTPAdapter.
880
881 1.0.0 (2012-12-17)
882 ++++++++++++++++++
883
884 - Massive Refactor and Simplification
885 - Switch to Apache 2.0 license
886 - Swappable Connection Adapters
887 - Mountable Connection Adapters
888 - Mutable ProcessedRequest chain
889 - /s/prefetch/stream
890 - Removal of all configuration
891 - Standard library logging
892 - Make Response.json() callable, not property.
893 - Usage of new charade project, which provides python 2 and 3 simultaneous chard et.
894 - Removal of all hooks except 'response'
895 - Removal of all authentication helpers (OAuth, Kerberos)
896
897 This is not a backwards compatible change.
898
899 0.14.2 (2012-10-27)
900 +++++++++++++++++++
901
902 - Improved mime-compatible JSON handling
903 - Proxy fixes
904 - Path hack fixes
905 - Case-Insensitive Content-Encoding headers
906 - Support for CJK parameters in form posts
907
908
909 0.14.1 (2012-10-01)
910 +++++++++++++++++++
911
912 - Python 3.3 Compatibility
913 - Simply default accept-encoding
914 - Bugfixes
915
916
917 0.14.0 (2012-09-02)
918 ++++++++++++++++++++
919
920 - No more iter_content errors if already downloaded.
921
922 0.13.9 (2012-08-25)
923 +++++++++++++++++++
924
925 - Fix for OAuth + POSTs
926 - Remove exception eating from dispatch_hook
927 - General bugfixes
928
929 0.13.8 (2012-08-21)
930 +++++++++++++++++++
931
932 - Incredible Link header support :)
933
934 0.13.7 (2012-08-19)
935 +++++++++++++++++++
936
937 - Support for (key, value) lists everywhere.
938 - Digest Authentication improvements.
939 - Ensure proxy exclusions work properly.
940 - Clearer UnicodeError exceptions.
941 - Automatic casting of URLs to strings (fURL and such)
942 - Bugfixes.
943
944 0.13.6 (2012-08-06)
945 +++++++++++++++++++
946
947 - Long awaited fix for hanging connections!
948
949 0.13.5 (2012-07-27)
950 +++++++++++++++++++
951
952 - Packaging fix
953
954 0.13.4 (2012-07-27)
955 +++++++++++++++++++
956
957 - GSSAPI/Kerberos authentication!
958 - App Engine 2.7 Fixes!
959 - Fix leaking connections (from urllib3 update)
960 - OAuthlib path hack fix
961 - OAuthlib URL parameters fix.
962
963 0.13.3 (2012-07-12)
964 +++++++++++++++++++
965
966 - Use simplejson if available.
967 - Do not hide SSLErrors behind Timeouts.
968 - Fixed param handling with urls containing fragments.
969 - Significantly improved information in User Agent.
970 - client certificates are ignored when verify=False
971
972 0.13.2 (2012-06-28)
973 +++++++++++++++++++
974
975 - Zero dependencies (once again)!
976 - New: Response.reason
977 - Sign querystring parameters in OAuth 1.0
978 - Client certificates no longer ignored when verify=False
979 - Add openSUSE certificate support
980
981 0.13.1 (2012-06-07)
982 +++++++++++++++++++
983
984 - Allow passing a file or file-like object as data.
985 - Allow hooks to return responses that indicate errors.
986 - Fix Response.text and Response.json for body-less responses.
987
988 0.13.0 (2012-05-29)
989 +++++++++++++++++++
990
991 - Removal of Requests.async in favor of `grequests <https://github.com/kennethre itz/grequests>`_
992 - Allow disabling of cookie persistence.
993 - New implementation of safe_mode
994 - cookies.get now supports default argument
995 - Session cookies not saved when Session.request is called with return_response= False
996 - Env: no_proxy support.
997 - RequestsCookieJar improvements.
998 - Various bug fixes.
999
1000 0.12.1 (2012-05-08)
1001 +++++++++++++++++++
1002
1003 - New ``Response.json`` property.
1004 - Ability to add string file uploads.
1005 - Fix out-of-range issue with iter_lines.
1006 - Fix iter_content default size.
1007 - Fix POST redirects containing files.
1008
1009 0.12.0 (2012-05-02)
1010 +++++++++++++++++++
1011
1012 - EXPERIMENTAL OAUTH SUPPORT!
1013 - Proper CookieJar-backed cookies interface with awesome dict-like interface.
1014 - Speed fix for non-iterated content chunks.
1015 - Move ``pre_request`` to a more usable place.
1016 - New ``pre_send`` hook.
1017 - Lazily encode data, params, files.
1018 - Load system Certificate Bundle if ``certify`` isn't available.
1019 - Cleanups, fixes.
1020
1021 0.11.2 (2012-04-22)
1022 +++++++++++++++++++
1023
1024 - Attempt to use the OS's certificate bundle if ``certifi`` isn't available.
1025 - Infinite digest auth redirect fix.
1026 - Multi-part file upload improvements.
1027 - Fix decoding of invalid %encodings in URLs.
1028 - If there is no content in a response don't throw an error the second time that content is attempted to be read.
1029 - Upload data on redirects.
1030
1031 0.11.1 (2012-03-30)
1032 +++++++++++++++++++
1033
1034 * POST redirects now break RFC to do what browsers do: Follow up with a GET.
1035 * New ``strict_mode`` configuration to disable new redirect behavior.
1036
1037
1038 0.11.0 (2012-03-14)
1039 +++++++++++++++++++
1040
1041 * Private SSL Certificate support
1042 * Remove select.poll from Gevent monkeypatching
1043 * Remove redundant generator for chunked transfer encoding
1044 * Fix: Response.ok raises Timeout Exception in safe_mode
1045
1046 0.10.8 (2012-03-09)
1047 +++++++++++++++++++
1048
1049 * Generate chunked ValueError fix
1050 * Proxy configuration by environment variables
1051 * Simplification of iter_lines.
1052 * New `trust_env` configuration for disabling system/environment hints.
1053 * Suppress cookie errors.
1054
1055 0.10.7 (2012-03-07)
1056 +++++++++++++++++++
1057
1058 * `encode_uri` = False
1059
1060 0.10.6 (2012-02-25)
1061 +++++++++++++++++++
1062
1063 * Allow '=' in cookies.
1064
1065 0.10.5 (2012-02-25)
1066 +++++++++++++++++++
1067
1068 * Response body with 0 content-length fix.
1069 * New async.imap.
1070 * Don't fail on netrc.
1071
1072
1073 0.10.4 (2012-02-20)
1074 +++++++++++++++++++
1075
1076 * Honor netrc.
1077
1078 0.10.3 (2012-02-20)
1079 +++++++++++++++++++
1080
1081 * HEAD requests don't follow redirects anymore.
1082 * raise_for_status() doesn't raise for 3xx anymore.
1083 * Make Session objects picklable.
1084 * ValueError for invalid schema URLs.
1085
1086 0.10.2 (2012-01-15)
1087 +++++++++++++++++++
1088
1089 * Vastly improved URL quoting.
1090 * Additional allowed cookie key values.
1091 * Attempted fix for "Too many open files" Error
1092 * Replace unicode errors on first pass, no need for second pass.
1093 * Append '/' to bare-domain urls before query insertion.
1094 * Exceptions now inherit from RuntimeError.
1095 * Binary uploads + auth fix.
1096 * Bugfixes.
1097
1098
1099 0.10.1 (2012-01-23)
1100 +++++++++++++++++++
1101
1102 * PYTHON 3 SUPPORT!
1103 * Dropped 2.5 Support. (*Backwards Incompatible*)
1104
1105 0.10.0 (2012-01-21)
1106 +++++++++++++++++++
1107
1108 * ``Response.content`` is now bytes-only. (*Backwards Incompatible*)
1109 * New ``Response.text`` is unicode-only.
1110 * If no ``Response.encoding`` is specified and ``chardet`` is available, ``Respo nse.text`` will guess an encoding.
1111 * Default to ISO-8859-1 (Western) encoding for "text" subtypes.
1112 * Removal of `decode_unicode`. (*Backwards Incompatible*)
1113 * New multiple-hooks system.
1114 * New ``Response.register_hook`` for registering hooks within the pipeline.
1115 * ``Response.url`` is now Unicode.
1116
1117 0.9.3 (2012-01-18)
1118 ++++++++++++++++++
1119
1120 * SSL verify=False bugfix (apparent on windows machines).
1121
1122 0.9.2 (2012-01-18)
1123 ++++++++++++++++++
1124
1125 * Asynchronous async.send method.
1126 * Support for proper chunk streams with boundaries.
1127 * session argument for Session classes.
1128 * Print entire hook tracebacks, not just exception instance.
1129 * Fix response.iter_lines from pending next line.
1130 * Fix but in HTTP-digest auth w/ URI having query strings.
1131 * Fix in Event Hooks section.
1132 * Urllib3 update.
1133
1134
1135 0.9.1 (2012-01-06)
1136 ++++++++++++++++++
1137
1138 * danger_mode for automatic Response.raise_for_status()
1139 * Response.iter_lines refactor
1140
1141 0.9.0 (2011-12-28)
1142 ++++++++++++++++++
1143
1144 * verify ssl is default.
1145
1146
1147 0.8.9 (2011-12-28)
1148 ++++++++++++++++++
1149
1150 * Packaging fix.
1151
1152
1153 0.8.8 (2011-12-28)
1154 ++++++++++++++++++
1155
1156 * SSL CERT VERIFICATION!
1157 * Release of Cerifi: Mozilla's cert list.
1158 * New 'verify' argument for SSL requests.
1159 * Urllib3 update.
1160
1161 0.8.7 (2011-12-24)
1162 ++++++++++++++++++
1163
1164 * iter_lines last-line truncation fix
1165 * Force safe_mode for async requests
1166 * Handle safe_mode exceptions more consistently
1167 * Fix iteration on null responses in safe_mode
1168
1169 0.8.6 (2011-12-18)
1170 ++++++++++++++++++
1171
1172 * Socket timeout fixes.
1173 * Proxy Authorization support.
1174
1175 0.8.5 (2011-12-14)
1176 ++++++++++++++++++
1177
1178 * Response.iter_lines!
1179
1180 0.8.4 (2011-12-11)
1181 ++++++++++++++++++
1182
1183 * Prefetch bugfix.
1184 * Added license to installed version.
1185
1186 0.8.3 (2011-11-27)
1187 ++++++++++++++++++
1188
1189 * Converted auth system to use simpler callable objects.
1190 * New session parameter to API methods.
1191 * Display full URL while logging.
1192
1193 0.8.2 (2011-11-19)
1194 ++++++++++++++++++
1195
1196 * New Unicode decoding system, based on over-ridable `Response.encoding`.
1197 * Proper URL slash-quote handling.
1198 * Cookies with ``[``, ``]``, and ``_`` allowed.
1199
1200 0.8.1 (2011-11-15)
1201 ++++++++++++++++++
1202
1203 * URL Request path fix
1204 * Proxy fix.
1205 * Timeouts fix.
1206
1207 0.8.0 (2011-11-13)
1208 ++++++++++++++++++
1209
1210 * Keep-alive support!
1211 * Complete removal of Urllib2
1212 * Complete removal of Poster
1213 * Complete removal of CookieJars
1214 * New ConnectionError raising
1215 * Safe_mode for error catching
1216 * prefetch parameter for request methods
1217 * OPTION method
1218 * Async pool size throttling
1219 * File uploads send real names
1220 * Vendored in urllib3
1221
1222 0.7.6 (2011-11-07)
1223 ++++++++++++++++++
1224
1225 * Digest authentication bugfix (attach query data to path)
1226
1227 0.7.5 (2011-11-04)
1228 ++++++++++++++++++
1229
1230 * Response.content = None if there was an invalid response.
1231 * Redirection auth handling.
1232
1233 0.7.4 (2011-10-26)
1234 ++++++++++++++++++
1235
1236 * Session Hooks fix.
1237
1238 0.7.3 (2011-10-23)
1239 ++++++++++++++++++
1240
1241 * Digest Auth fix.
1242
1243
1244 0.7.2 (2011-10-23)
1245 ++++++++++++++++++
1246
1247 * PATCH Fix.
1248
1249
1250 0.7.1 (2011-10-23)
1251 ++++++++++++++++++
1252
1253 * Move away from urllib2 authentication handling.
1254 * Fully Remove AuthManager, AuthObject, &c.
1255 * New tuple-based auth system with handler callbacks.
1256
1257
1258 0.7.0 (2011-10-22)
1259 ++++++++++++++++++
1260
1261 * Sessions are now the primary interface.
1262 * Deprecated InvalidMethodException.
1263 * PATCH fix.
1264 * New config system (no more global settings).
1265
1266
1267 0.6.6 (2011-10-19)
1268 ++++++++++++++++++
1269
1270 * Session parameter bugfix (params merging).
1271
1272
1273 0.6.5 (2011-10-18)
1274 ++++++++++++++++++
1275
1276 * Offline (fast) test suite.
1277 * Session dictionary argument merging.
1278
1279
1280 0.6.4 (2011-10-13)
1281 ++++++++++++++++++
1282
1283 * Automatic decoding of unicode, based on HTTP Headers.
1284 * New ``decode_unicode`` setting.
1285 * Removal of ``r.read/close`` methods.
1286 * New ``r.faw`` interface for advanced response usage.*
1287 * Automatic expansion of parameterized headers.
1288
1289
1290 0.6.3 (2011-10-13)
1291 ++++++++++++++++++
1292
1293 * Beautiful ``requests.async`` module, for making async requests w/ gevent.
1294
1295
1296 0.6.2 (2011-10-09)
1297 ++++++++++++++++++
1298
1299 * GET/HEAD obeys allow_redirects=False.
1300
1301
1302 0.6.1 (2011-08-20)
1303 ++++++++++++++++++
1304
1305 * Enhanced status codes experience ``\o/``
1306 * Set a maximum number of redirects (``settings.max_redirects``)
1307 * Full Unicode URL support
1308 * Support for protocol-less redirects.
1309 * Allow for arbitrary request types.
1310 * Bugfixes
1311
1312
1313 0.6.0 (2011-08-17)
1314 ++++++++++++++++++
1315
1316 * New callback hook system
1317 * New persistent sessions object and context manager
1318 * Transparent Dict-cookie handling
1319 * Status code reference object
1320 * Removed Response.cached
1321 * Added Response.request
1322 * All args are kwargs
1323 * Relative redirect support
1324 * HTTPError handling improvements
1325 * Improved https testing
1326 * Bugfixes
1327
1328
1329 0.5.1 (2011-07-23)
1330 ++++++++++++++++++
1331
1332 * International Domain Name Support!
1333 * Access headers without fetching entire body (``read()``)
1334 * Use lists as dicts for parameters
1335 * Add Forced Basic Authentication
1336 * Forced Basic is default authentication type
1337 * ``python-requests.org`` default User-Agent header
1338 * CaseInsensitiveDict lower-case caching
1339 * Response.history bugfix
1340
1341
1342 0.5.0 (2011-06-21)
1343 ++++++++++++++++++
1344
1345 * PATCH Support
1346 * Support for Proxies
1347 * HTTPBin Test Suite
1348 * Redirect Fixes
1349 * settings.verbose stream writing
1350 * Querystrings for all methods
1351 * URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicitl y raised
1352 ``r.requests.get('hwe://blah'); r.raise_for_status()``
1353
1354
1355 0.4.1 (2011-05-22)
1356 ++++++++++++++++++
1357
1358 * Improved Redirection Handling
1359 * New 'allow_redirects' param for following non-GET/HEAD Redirects
1360 * Settings module refactoring
1361
1362
1363 0.4.0 (2011-05-15)
1364 ++++++++++++++++++
1365
1366 * Response.history: list of redirected responses
1367 * Case-Insensitive Header Dictionaries!
1368 * Unicode URLs
1369
1370
1371 0.3.4 (2011-05-14)
1372 ++++++++++++++++++
1373
1374 * Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
1375 * Internal Refactor
1376 * Bytes data upload Bugfix
1377
1378
1379
1380 0.3.3 (2011-05-12)
1381 ++++++++++++++++++
1382
1383 * Request timeouts
1384 * Unicode url-encoded data
1385 * Settings context manager and module
1386
1387
1388 0.3.2 (2011-04-15)
1389 ++++++++++++++++++
1390
1391 * Automatic Decompression of GZip Encoded Content
1392 * AutoAuth Support for Tupled HTTP Auth
1393
1394
1395 0.3.1 (2011-04-01)
1396 ++++++++++++++++++
1397
1398 * Cookie Changes
1399 * Response.read()
1400 * Poster fix
1401
1402
1403 0.3.0 (2011-02-25)
1404 ++++++++++++++++++
1405
1406 * Automatic Authentication API Change
1407 * Smarter Query URL Parameterization
1408 * Allow file uploads and POST data together
1409 * New Authentication Manager System
1410 - Simpler Basic HTTP System
1411 - Supports all build-in urllib2 Auths
1412 - Allows for custom Auth Handlers
1413
1414
1415 0.2.4 (2011-02-19)
1416 ++++++++++++++++++
1417
1418 * Python 2.5 Support
1419 * PyPy-c v1.4 Support
1420 * Auto-Authentication tests
1421 * Improved Request object constructor
1422
1423 0.2.3 (2011-02-15)
1424 ++++++++++++++++++
1425
1426 * New HTTPHandling Methods
1427 - Response.__nonzero__ (false if bad HTTP Status)
1428 - Response.ok (True if expected HTTP Status)
1429 - Response.error (Logged HTTPError if bad HTTP Status)
1430 - Response.raise_for_status() (Raises stored HTTPError)
1431
1432
1433 0.2.2 (2011-02-14)
1434 ++++++++++++++++++
1435
1436 * Still handles request in the event of an HTTPError. (Issue #2)
1437 * Eventlet and Gevent Monkeypatch support.
1438 * Cookie Support (Issue #1)
1439
1440
1441 0.2.1 (2011-02-14)
1442 ++++++++++++++++++
1443
1444 * Added file attribute to POST and PUT requests for multipart-encode file upload s.
1445 * Added Request.url attribute for context and redirects
1446
1447
1448 0.2.0 (2011-02-14)
1449 ++++++++++++++++++
1450
1451 * Birth!
1452
1453
1454 0.0.1 (2011-02-13)
1455 ++++++++++++++++++
1456
1457 * Frustration
1458 * Conception
1459
1460
1461
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698