HISTORY.rst 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527
  1. .. :changelog:
  2. Release History
  3. ---------------
  4. 2.18.4 (2017-08-15)
  5. +++++++++++++++++++
  6. **Improvements**
  7. - Error messages for invalid headers now include the header name for easier debugging
  8. **Dependencies**
  9. - We now support idna v2.6.
  10. 2.18.3 (2017-08-02)
  11. +++++++++++++++++++
  12. **Improvements**
  13. - Running ``$ python -m requests.help`` now includes the installed version of idna.
  14. **Bugfixes**
  15. - Fixed issue where Requests would raise ``ConnectionError`` instead of
  16. ``SSLError`` when encountering SSL problems when using urllib3 v1.22.
  17. 2.18.2 (2017-07-25)
  18. +++++++++++++++++++
  19. **Bugfixes**
  20. - ``requests.help`` no longer fails on Python 2.6 due to the absence of
  21. ``ssl.OPENSSL_VERSION_NUMBER``.
  22. **Dependencies**
  23. - We now support urllib3 v1.22.
  24. 2.18.1 (2017-06-14)
  25. +++++++++++++++++++
  26. **Bugfixes**
  27. - Fix an error in the packaging whereby the *.whl contained incorrect data that
  28. regressed the fix in v2.17.3.
  29. 2.18.0 (2017-06-14)
  30. +++++++++++++++++++
  31. **Improvements**
  32. - ``Response`` is now a context manager, so can be used directly in a ``with`` statement
  33. without first having to be wrapped by ``contextlib.closing()``.
  34. **Bugfixes**
  35. - Resolve installation failure if multiprocessing is not available
  36. - Resolve tests crash if multiprocessing is not able to determine the number of CPU cores
  37. - Resolve error swallowing in utils set_environ generator
  38. 2.17.3 (2017-05-29)
  39. +++++++++++++++++++
  40. **Improvements**
  41. - Improved ``packages`` namespace identity support, for monkeypatching libraries.
  42. 2.17.2 (2017-05-29)
  43. +++++++++++++++++++
  44. **Improvements**
  45. - Improved ``packages`` namespace identity support, for monkeypatching libraries.
  46. 2.17.1 (2017-05-29)
  47. +++++++++++++++++++
  48. **Improvements**
  49. - Improved ``packages`` namespace identity support, for monkeypatching libraries.
  50. 2.17.0 (2017-05-29)
  51. +++++++++++++++++++
  52. **Improvements**
  53. - Removal of the 301 redirect cache. This improves thread-safety.
  54. 2.16.5 (2017-05-28)
  55. +++++++++++++++++++
  56. - Improvements to ``$ python -m requests.help``.
  57. 2.16.4 (2017-05-27)
  58. +++++++++++++++++++
  59. - Introduction of the ``$ python -m requests.help`` command, for debugging with maintainers!
  60. 2.16.3 (2017-05-27)
  61. +++++++++++++++++++
  62. - Further restored the ``requests.packages`` namespace for compatibility reasons.
  63. 2.16.2 (2017-05-27)
  64. +++++++++++++++++++
  65. - Further restored the ``requests.packages`` namespace for compatibility reasons.
  66. No code modification (noted below) should be neccessary any longer.
  67. 2.16.1 (2017-05-27)
  68. +++++++++++++++++++
  69. - Restored the ``requests.packages`` namespace for compatibility reasons.
  70. - Bugfix for ``urllib3`` version parsing.
  71. **Note**: code that was written to import against the ``requests.packages``
  72. namespace previously will have to import code that rests at this module-level
  73. now.
  74. For example::
  75. from requests.packages.urllib3.poolmanager import PoolManager
  76. Will need to be re-written to be::
  77. from requests.packages import urllib3
  78. urllib3.poolmanager.PoolManager
  79. Or, even better::
  80. from urllib3.poolmanager import PoolManager
  81. 2.16.0 (2017-05-26)
  82. +++++++++++++++++++
  83. - Unvendor ALL the things!
  84. 2.15.1 (2017-05-26)
  85. +++++++++++++++++++
  86. - Everyone makes mistakes.
  87. 2.15.0 (2017-05-26)
  88. +++++++++++++++++++
  89. **Improvements**
  90. - Introduction of the ``Response.next`` property, for getting the next
  91. ``PreparedResponse`` from a redirect chain (when ``allow_redirects=False``).
  92. - Internal refactoring of ``__version__`` module.
  93. **Bugfixes**
  94. - Restored once-optional parameter for ``requests.utils.get_environ_proxies()``.
  95. 2.14.2 (2017-05-10)
  96. +++++++++++++++++++
  97. **Bugfixes**
  98. - Changed a less-than to an equal-to and an or in the dependency markers to
  99. widen compatibility with older setuptools releases.
  100. 2.14.1 (2017-05-09)
  101. +++++++++++++++++++
  102. **Bugfixes**
  103. - Changed the dependency markers to widen compatibility with older pip
  104. releases.
  105. 2.14.0 (2017-05-09)
  106. +++++++++++++++++++
  107. **Improvements**
  108. - It is now possible to pass ``no_proxy`` as a key to the ``proxies``
  109. dictionary to provide handling similar to the ``NO_PROXY`` environment
  110. variable.
  111. - When users provide invalid paths to certificate bundle files or directories
  112. Requests now raises ``IOError``, rather than failing at the time of the HTTPS
  113. request with a fairly inscrutable certificate validation error.
  114. - The behavior of ``SessionRedirectMixin`` was slightly altered.
  115. ``resolve_redirects`` will now detect a redirect by calling
  116. ``get_redirect_target(response)`` instead of directly
  117. querying ``Response.is_redirect`` and ``Response.headers['location']``.
  118. Advanced users will be able to process malformed redirects more easily.
  119. - Changed the internal calculation of elapsed request time to have higher
  120. resolution on Windows.
  121. - Added ``win_inet_pton`` as conditional dependency for the ``[socks]`` extra
  122. on Windows with Python 2.7.
  123. - Changed the proxy bypass implementation on Windows: the proxy bypass
  124. check doesn't use forward and reverse DNS requests anymore
  125. - URLs with schemes that begin with ``http`` but are not ``http`` or ``https``
  126. no longer have their host parts forced to lowercase.
  127. **Bugfixes**
  128. - Much improved handling of non-ASCII ``Location`` header values in redirects.
  129. Fewer ``UnicodeDecodeErrors`` are encountered on Python 2, and Python 3 now
  130. correctly understands that Latin-1 is unlikely to be the correct encoding.
  131. - If an attempt to ``seek`` file to find out its length fails, we now
  132. appropriately handle that by aborting our content-length calculations.
  133. - Restricted ``HTTPDigestAuth`` to only respond to auth challenges made on 4XX
  134. responses, rather than to all auth challenges.
  135. - Fixed some code that was firing ``DeprecationWarning`` on Python 3.6.
  136. - The dismayed person emoticon (``/o\\``) no longer has a big head. I'm sure
  137. this is what you were all worrying about most.
  138. **Miscellaneous**
  139. - Updated bundled urllib3 to v1.21.1.
  140. - Updated bundled chardet to v3.0.2.
  141. - Updated bundled idna to v2.5.
  142. - Updated bundled certifi to 2017.4.17.
  143. 2.13.0 (2017-01-24)
  144. +++++++++++++++++++
  145. **Features**
  146. - Only load the ``idna`` library when we've determined we need it. This will
  147. save some memory for users.
  148. **Miscellaneous**
  149. - Updated bundled urllib3 to 1.20.
  150. - Updated bundled idna to 2.2.
  151. 2.12.5 (2017-01-18)
  152. +++++++++++++++++++
  153. **Bugfixes**
  154. - Fixed an issue with JSON encoding detection, specifically detecting
  155. big-endian UTF-32 with BOM.
  156. 2.12.4 (2016-12-14)
  157. +++++++++++++++++++
  158. **Bugfixes**
  159. - Fixed regression from 2.12.2 where non-string types were rejected in the
  160. basic auth parameters. While support for this behaviour has been readded,
  161. the behaviour is deprecated and will be removed in the future.
  162. 2.12.3 (2016-12-01)
  163. +++++++++++++++++++
  164. **Bugfixes**
  165. - Fixed regression from v2.12.1 for URLs with schemes that begin with "http".
  166. These URLs have historically been processed as though they were HTTP-schemed
  167. URLs, and so have had parameters added. This was removed in v2.12.2 in an
  168. overzealous attempt to resolve problems with IDNA-encoding those URLs. This
  169. change was reverted: the other fixes for IDNA-encoding have been judged to
  170. be sufficient to return to the behaviour Requests had before v2.12.0.
  171. 2.12.2 (2016-11-30)
  172. +++++++++++++++++++
  173. **Bugfixes**
  174. - Fixed several issues with IDNA-encoding URLs that are technically invalid but
  175. which are widely accepted. Requests will now attempt to IDNA-encode a URL if
  176. it can but, if it fails, and the host contains only ASCII characters, it will
  177. be passed through optimistically. This will allow users to opt-in to using
  178. IDNA2003 themselves if they want to, and will also allow technically invalid
  179. but still common hostnames.
  180. - Fixed an issue where URLs with leading whitespace would raise
  181. ``InvalidSchema`` errors.
  182. - Fixed an issue where some URLs without the HTTP or HTTPS schemes would still
  183. have HTTP URL preparation applied to them.
  184. - Fixed an issue where Unicode strings could not be used in basic auth.
  185. - Fixed an issue encountered by some Requests plugins where constructing a
  186. Response object would cause ``Response.content`` to raise an
  187. ``AttributeError``.
  188. 2.12.1 (2016-11-16)
  189. +++++++++++++++++++
  190. **Bugfixes**
  191. - Updated setuptools 'security' extra for the new PyOpenSSL backend in urllib3.
  192. **Miscellaneous**
  193. - Updated bundled urllib3 to 1.19.1.
  194. 2.12.0 (2016-11-15)
  195. +++++++++++++++++++
  196. **Improvements**
  197. - Updated support for internationalized domain names from IDNA2003 to IDNA2008.
  198. This updated support is required for several forms of IDNs and is mandatory
  199. for .de domains.
  200. - Much improved heuristics for guessing content lengths: Requests will no
  201. longer read an entire ``StringIO`` into memory.
  202. - Much improved logic for recalculating ``Content-Length`` headers for
  203. ``PreparedRequest`` objects.
  204. - Improved tolerance for file-like objects that have no ``tell`` method but
  205. do have a ``seek`` method.
  206. - Anything that is a subclass of ``Mapping`` is now treated like a dictionary
  207. by the ``data=`` keyword argument.
  208. - Requests now tolerates empty passwords in proxy credentials, rather than
  209. stripping the credentials.
  210. - If a request is made with a file-like object as the body and that request is
  211. redirected with a 307 or 308 status code, Requests will now attempt to
  212. rewind the body object so it can be replayed.
  213. **Bugfixes**
  214. - When calling ``response.close``, the call to ``close`` will be propagated
  215. through to non-urllib3 backends.
  216. - Fixed issue where the ``ALL_PROXY`` environment variable would be preferred
  217. over scheme-specific variables like ``HTTP_PROXY``.
  218. - Fixed issue where non-UTF8 reason phrases got severely mangled by falling
  219. back to decoding using ISO 8859-1 instead.
  220. - Fixed a bug where Requests would not correctly correlate cookies set when
  221. using custom Host headers if those Host headers did not use the native
  222. string type for the platform.
  223. **Miscellaneous**
  224. - Updated bundled urllib3 to 1.19.
  225. - Updated bundled certifi certs to 2016.09.26.
  226. 2.11.1 (2016-08-17)
  227. +++++++++++++++++++
  228. **Bugfixes**
  229. - Fixed a bug when using ``iter_content`` with ``decode_unicode=True`` for
  230. streamed bodies would raise ``AttributeError``. This bug was introduced in
  231. 2.11.
  232. - Strip Content-Type and Transfer-Encoding headers from the header block when
  233. following a redirect that transforms the verb from POST/PUT to GET.
  234. 2.11.0 (2016-08-08)
  235. +++++++++++++++++++
  236. **Improvements**
  237. - Added support for the ``ALL_PROXY`` environment variable.
  238. - Reject header values that contain leading whitespace or newline characters to
  239. reduce risk of header smuggling.
  240. **Bugfixes**
  241. - Fixed occasional ``TypeError`` when attempting to decode a JSON response that
  242. occurred in an error case. Now correctly returns a ``ValueError``.
  243. - Requests would incorrectly ignore a non-CIDR IP address in the ``NO_PROXY``
  244. environment variables: Requests now treats it as a specific IP.
  245. - Fixed a bug when sending JSON data that could cause us to encounter obscure
  246. OpenSSL errors in certain network conditions (yes, really).
  247. - Added type checks to ensure that ``iter_content`` only accepts integers and
  248. ``None`` for chunk sizes.
  249. - Fixed issue where responses whose body had not been fully consumed would have
  250. the underlying connection closed but not returned to the connection pool,
  251. which could cause Requests to hang in situations where the ``HTTPAdapter``
  252. had been configured to use a blocking connection pool.
  253. **Miscellaneous**
  254. - Updated bundled urllib3 to 1.16.
  255. - Some previous releases accidentally accepted non-strings as acceptable header values. This release does not.
  256. 2.10.0 (2016-04-29)
  257. +++++++++++++++++++
  258. **New Features**
  259. - SOCKS Proxy Support! (requires PySocks; ``$ pip install requests[socks]``)
  260. **Miscellaneous**
  261. - Updated bundled urllib3 to 1.15.1.
  262. 2.9.2 (2016-04-29)
  263. ++++++++++++++++++
  264. **Improvements**
  265. - Change built-in CaseInsensitiveDict (used for headers) to use OrderedDict
  266. as its underlying datastore.
  267. **Bugfixes**
  268. - Don't use redirect_cache if allow_redirects=False
  269. - When passed objects that throw exceptions from ``tell()``, send them via
  270. chunked transfer encoding instead of failing.
  271. - Raise a ProxyError for proxy related connection issues.
  272. 2.9.1 (2015-12-21)
  273. ++++++++++++++++++
  274. **Bugfixes**
  275. - Resolve regression introduced in 2.9.0 that made it impossible to send binary
  276. strings as bodies in Python 3.
  277. - Fixed errors when calculating cookie expiration dates in certain locales.
  278. **Miscellaneous**
  279. - Updated bundled urllib3 to 1.13.1.
  280. 2.9.0 (2015-12-15)
  281. ++++++++++++++++++
  282. **Minor Improvements** (Backwards compatible)
  283. - The ``verify`` keyword argument now supports being passed a path to a
  284. directory of CA certificates, not just a single-file bundle.
  285. - Warnings are now emitted when sending files opened in text mode.
  286. - Added the 511 Network Authentication Required status code to the status code
  287. registry.
  288. **Bugfixes**
  289. - For file-like objects that are not seeked to the very beginning, we now
  290. send the content length for the number of bytes we will actually read, rather
  291. than the total size of the file, allowing partial file uploads.
  292. - When uploading file-like objects, if they are empty or have no obvious
  293. content length we set ``Transfer-Encoding: chunked`` rather than
  294. ``Content-Length: 0``.
  295. - We correctly receive the response in buffered mode when uploading chunked
  296. bodies.
  297. - We now handle being passed a query string as a bytestring on Python 3, by
  298. decoding it as UTF-8.
  299. - Sessions are now closed in all cases (exceptional and not) when using the
  300. functional API rather than leaking and waiting for the garbage collector to
  301. clean them up.
  302. - Correctly handle digest auth headers with a malformed ``qop`` directive that
  303. contains no token, by treating it the same as if no ``qop`` directive was
  304. provided at all.
  305. - Minor performance improvements when removing specific cookies by name.
  306. **Miscellaneous**
  307. - Updated urllib3 to 1.13.
  308. 2.8.1 (2015-10-13)
  309. ++++++++++++++++++
  310. **Bugfixes**
  311. - Update certificate bundle to match ``certifi`` 2015.9.6.2's weak certificate
  312. bundle.
  313. - Fix a bug in 2.8.0 where requests would raise ``ConnectTimeout`` instead of
  314. ``ConnectionError``
  315. - When using the PreparedRequest flow, requests will now correctly respect the
  316. ``json`` parameter. Broken in 2.8.0.
  317. - When using the PreparedRequest flow, requests will now correctly handle a
  318. Unicode-string method name on Python 2. Broken in 2.8.0.
  319. 2.8.0 (2015-10-05)
  320. ++++++++++++++++++
  321. **Minor Improvements** (Backwards Compatible)
  322. - Requests now supports per-host proxies. This allows the ``proxies``
  323. dictionary to have entries of the form
  324. ``{'<scheme>://<hostname>': '<proxy>'}``. Host-specific proxies will be used
  325. in preference to the previously-supported scheme-specific ones, but the
  326. previous syntax will continue to work.
  327. - ``Response.raise_for_status`` now prints the URL that failed as part of the
  328. exception message.
  329. - ``requests.utils.get_netrc_auth`` now takes an ``raise_errors`` kwarg,
  330. defaulting to ``False``. When ``True``, errors parsing ``.netrc`` files cause
  331. exceptions to be thrown.
  332. - Change to bundled projects import logic to make it easier to unbundle
  333. requests downstream.
  334. - Changed the default User-Agent string to avoid leaking data on Linux: now
  335. contains only the requests version.
  336. **Bugfixes**
  337. - The ``json`` parameter to ``post()`` and friends will now only be used if
  338. neither ``data`` nor ``files`` are present, consistent with the
  339. documentation.
  340. - We now ignore empty fields in the ``NO_PROXY`` environment variable.
  341. - Fixed problem where ``httplib.BadStatusLine`` would get raised if combining
  342. ``stream=True`` with ``contextlib.closing``.
  343. - Prevented bugs where we would attempt to return the same connection back to
  344. the connection pool twice when sending a Chunked body.
  345. - Miscellaneous minor internal changes.
  346. - Digest Auth support is now thread safe.
  347. **Updates**
  348. - Updated urllib3 to 1.12.
  349. 2.7.0 (2015-05-03)
  350. ++++++++++++++++++
  351. This is the first release that follows our new release process. For more, see
  352. `our documentation
  353. <http://docs.python-requests.org/en/latest/community/release-process/>`_.
  354. **Bugfixes**
  355. - Updated urllib3 to 1.10.4, resolving several bugs involving chunked transfer
  356. encoding and response framing.
  357. 2.6.2 (2015-04-23)
  358. ++++++++++++++++++
  359. **Bugfixes**
  360. - Fix regression where compressed data that was sent as chunked data was not
  361. properly decompressed. (#2561)
  362. 2.6.1 (2015-04-22)
  363. ++++++++++++++++++
  364. **Bugfixes**
  365. - Remove VendorAlias import machinery introduced in v2.5.2.
  366. - Simplify the PreparedRequest.prepare API: We no longer require the user to
  367. pass an empty list to the hooks keyword argument. (c.f. #2552)
  368. - Resolve redirects now receives and forwards all of the original arguments to
  369. the adapter. (#2503)
  370. - Handle UnicodeDecodeErrors when trying to deal with a unicode URL that
  371. cannot be encoded in ASCII. (#2540)
  372. - Populate the parsed path of the URI field when performing Digest
  373. Authentication. (#2426)
  374. - Copy a PreparedRequest's CookieJar more reliably when it is not an instance
  375. of RequestsCookieJar. (#2527)
  376. 2.6.0 (2015-03-14)
  377. ++++++++++++++++++
  378. **Bugfixes**
  379. - CVE-2015-2296: Fix handling of cookies on redirect. Previously a cookie
  380. without a host value set would use the hostname for the redirected URL
  381. exposing requests users to session fixation attacks and potentially cookie
  382. stealing. This was disclosed privately by Matthew Daley of
  383. `BugFuzz <https://bugfuzz.com>`_. This affects all versions of requests from
  384. v2.1.0 to v2.5.3 (inclusive on both ends).
  385. - Fix error when requests is an ``install_requires`` dependency and ``python
  386. setup.py test`` is run. (#2462)
  387. - Fix error when urllib3 is unbundled and requests continues to use the
  388. vendored import location.
  389. - Include fixes to ``urllib3``'s header handling.
  390. - Requests' handling of unvendored dependencies is now more restrictive.
  391. **Features and Improvements**
  392. - Support bytearrays when passed as parameters in the ``files`` argument.
  393. (#2468)
  394. - Avoid data duplication when creating a request with ``str``, ``bytes``, or
  395. ``bytearray`` input to the ``files`` argument.
  396. 2.5.3 (2015-02-24)
  397. ++++++++++++++++++
  398. **Bugfixes**
  399. - Revert changes to our vendored certificate bundle. For more context see
  400. (#2455, #2456, and http://bugs.python.org/issue23476)
  401. 2.5.2 (2015-02-23)
  402. ++++++++++++++++++
  403. **Features and Improvements**
  404. - Add sha256 fingerprint support. (`shazow/urllib3#540`_)
  405. - Improve the performance of headers. (`shazow/urllib3#544`_)
  406. **Bugfixes**
  407. - Copy pip's import machinery. When downstream redistributors remove
  408. requests.packages.urllib3 the import machinery will continue to let those
  409. same symbols work. Example usage in requests' documentation and 3rd-party
  410. libraries relying on the vendored copies of urllib3 will work without having
  411. to fallback to the system urllib3.
  412. - Attempt to quote parts of the URL on redirect if unquoting and then quoting
  413. fails. (#2356)
  414. - Fix filename type check for multipart form-data uploads. (#2411)
  415. - Properly handle the case where a server issuing digest authentication
  416. challenges provides both auth and auth-int qop-values. (#2408)
  417. - Fix a socket leak. (`shazow/urllib3#549`_)
  418. - Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)
  419. - Disable the built-in hostname verification. (`shazow/urllib3#526`_)
  420. - Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)
  421. **Security**
  422. - Pulled in an updated ``cacert.pem``.
  423. - Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)
  424. .. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551
  425. .. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549
  426. .. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544
  427. .. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540
  428. .. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535
  429. .. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534
  430. .. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/526
  431. 2.5.1 (2014-12-23)
  432. ++++++++++++++++++
  433. **Behavioural Changes**
  434. - Only catch HTTPErrors in raise_for_status (#2382)
  435. **Bugfixes**
  436. - Handle LocationParseError from urllib3 (#2344)
  437. - Handle file-like object filenames that are not strings (#2379)
  438. - Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated (#2389)
  439. 2.5.0 (2014-12-01)
  440. ++++++++++++++++++
  441. **Improvements**
  442. - Allow usage of urllib3's Retry object with HTTPAdapters (#2216)
  443. - The ``iter_lines`` method on a response now accepts a delimiter with which
  444. to split the content (#2295)
  445. **Behavioural Changes**
  446. - Add deprecation warnings to functions in requests.utils that will be removed
  447. in 3.0 (#2309)
  448. - Sessions used by the functional API are always closed (#2326)
  449. - Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9) (#2323)
  450. **Bugfixes**
  451. - Only parse the URL once (#2353)
  452. - Allow Content-Length header to always be overridden (#2332)
  453. - Properly handle files in HTTPDigestAuth (#2333)
  454. - Cap redirect_cache size to prevent memory abuse (#2299)
  455. - Fix HTTPDigestAuth handling of redirects after authenticating successfully
  456. (#2253)
  457. - Fix crash with custom method parameter to Session.request (#2317)
  458. - Fix how Link headers are parsed using the regular expression library (#2271)
  459. **Documentation**
  460. - Add more references for interlinking (#2348)
  461. - Update CSS for theme (#2290)
  462. - Update width of buttons and sidebar (#2289)
  463. - Replace references of Gittip with Gratipay (#2282)
  464. - Add link to changelog in sidebar (#2273)
  465. 2.4.3 (2014-10-06)
  466. ++++++++++++++++++
  467. **Bugfixes**
  468. - Unicode URL improvements for Python 2.
  469. - Re-order JSON param for backwards compat.
  470. - Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/requests/requests/issues/2249>`_)
  471. 2.4.2 (2014-10-05)
  472. ++++++++++++++++++
  473. **Improvements**
  474. - FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/requests/requests/pull/2258>`_)
  475. - Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/requests/requests/pull/2238>`_)
  476. **Bugfixes**
  477. - Avoid getting stuck in a loop (`#2244 <https://github.com/requests/requests/pull/2244>`_)
  478. - Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/requests/requests/issues/2240>`_, `#2241 <https://github.com/requests/requests/issues/2241>`_)
  479. **Documentation**
  480. - Correct redirection introduction (`#2245 <https://github.com/requests/requests/pull/2245/>`_)
  481. - Added example of how to send multiple files in one request. (`#2227 <https://github.com/requests/requests/pull/2227/>`_)
  482. - Clarify how to pass a custom set of CAs (`#2248 <https://github.com/requests/requests/pull/2248/>`_)
  483. 2.4.1 (2014-09-09)
  484. ++++++++++++++++++
  485. - Now has a "security" package extras set, ``$ pip install requests[security]``
  486. - Requests will now use Certifi if it is available.
  487. - Capture and re-raise urllib3 ProtocolError
  488. - Bugfix for responses that attempt to redirect to themselves forever (wtf?).
  489. 2.4.0 (2014-08-29)
  490. ++++++++++++++++++
  491. **Behavioral Changes**
  492. - ``Connection: keep-alive`` header is now sent automatically.
  493. **Improvements**
  494. - Support for connect timeouts! Timeout now accepts a tuple (connect, read) which is used to set individual connect and read timeouts.
  495. - Allow copying of PreparedRequests without headers/cookies.
  496. - Updated bundled urllib3 version.
  497. - Refactored settings loading from environment -- new `Session.merge_environment_settings`.
  498. - Handle socket errors in iter_content.
  499. 2.3.0 (2014-05-16)
  500. ++++++++++++++++++
  501. **API Changes**
  502. - New ``Response`` property ``is_redirect``, which is true when the
  503. library could have processed this response as a redirection (whether
  504. or not it actually did).
  505. - The ``timeout`` parameter now affects requests with both ``stream=True`` and
  506. ``stream=False`` equally.
  507. - The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
  508. Proxy schemes now default to ``http://``.
  509. - The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
  510. dictionary when references as string or viewed in the interpreter.
  511. **Bugfixes**
  512. - No longer expose Authorization or Proxy-Authorization headers on redirect.
  513. Fix CVE-2014-1829 and CVE-2014-1830 respectively.
  514. - Authorization is re-evaluated each redirect.
  515. - On redirect, pass url as native strings.
  516. - Fall-back to autodetected encoding for JSON when Unicode detection fails.
  517. - Headers set to ``None`` on the ``Session`` are now correctly not sent.
  518. - Correctly honor ``decode_unicode`` even if it wasn't used earlier in the same
  519. response.
  520. - Stop advertising ``compress`` as a supported Content-Encoding.
  521. - The ``Response.history`` parameter is now always a list.
  522. - Many, many ``urllib3`` bugfixes.
  523. 2.2.1 (2014-01-23)
  524. ++++++++++++++++++
  525. **Bugfixes**
  526. - Fixes incorrect parsing of proxy credentials that contain a literal or encoded '#' character.
  527. - Assorted urllib3 fixes.
  528. 2.2.0 (2014-01-09)
  529. ++++++++++++++++++
  530. **API Changes**
  531. - New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
  532. ``DecodeError`` exceptions.
  533. **Bugfixes**
  534. - Avoid many many exceptions from the buggy implementation of ``proxy_bypass`` on OS X in Python 2.6.
  535. - Avoid crashing when attempting to get authentication credentials from ~/.netrc when running as a user without a home directory.
  536. - Use the correct pool size for pools of connections to proxies.
  537. - Fix iteration of ``CookieJar`` objects.
  538. - Ensure that cookies are persisted over redirect.
  539. - Switch back to using chardet, since it has merged with charade.
  540. 2.1.0 (2013-12-05)
  541. ++++++++++++++++++
  542. - Updated CA Bundle, of course.
  543. - Cookies set on individual Requests through a ``Session`` (e.g. via ``Session.get()``) are no longer persisted to the ``Session``.
  544. - Clean up connections when we hit problems during chunked upload, rather than leaking them.
  545. - Return connections to the pool when a chunked upload is successful, rather than leaking it.
  546. - Match the HTTPbis recommendation for HTTP 301 redirects.
  547. - Prevent hanging when using streaming uploads and Digest Auth when a 401 is received.
  548. - Values of headers set by Requests are now always the native string type.
  549. - Fix previously broken SNI support.
  550. - Fix accessing HTTP proxies using proxy authentication.
  551. - Unencode HTTP Basic usernames and passwords extracted from URLs.
  552. - Support for IP address ranges for no_proxy environment variable
  553. - Parse headers correctly when users override the default ``Host:`` header.
  554. - Avoid munging the URL in case of case-sensitive servers.
  555. - Looser URL handling for non-HTTP/HTTPS urls.
  556. - Accept unicode methods in Python 2.6 and 2.7.
  557. - More resilient cookie handling.
  558. - Make ``Response`` objects pickleable.
  559. - Actually added MD5-sess to Digest Auth instead of pretending to like last time.
  560. - Updated internal urllib3.
  561. - Fixed @Lukasa's lack of taste.
  562. 2.0.1 (2013-10-24)
  563. ++++++++++++++++++
  564. - Updated included CA Bundle with new mistrusts and automated process for the future
  565. - Added MD5-sess to Digest Auth
  566. - Accept per-file headers in multipart file POST messages.
  567. - Fixed: Don't send the full URL on CONNECT messages.
  568. - Fixed: Correctly lowercase a redirect scheme.
  569. - Fixed: Cookies not persisted when set via functional API.
  570. - Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
  571. - Updated internal urllib3 and chardet.
  572. 2.0.0 (2013-09-24)
  573. ++++++++++++++++++
  574. **API Changes:**
  575. - Keys in the Headers dictionary are now native strings on all Python versions,
  576. i.e. bytestrings on Python 2, unicode on Python 3.
  577. - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
  578. will be raised if they don't.
  579. - Timeouts now apply to read time if ``Stream=False``.
  580. - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
  581. - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
  582. - Added new method to ``Session`` objects: ``Session.update_request()``. This
  583. method updates a ``Request`` object with the data (e.g. cookies) stored on
  584. the ``Session``.
  585. - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
  586. method updates and prepares a ``Request`` object, and returns the
  587. corresponding ``PreparedRequest`` object.
  588. - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
  589. This should not be called directly, but improves the subclass interface.
  590. - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
  591. will now raise a Requests ``ChunkedEncodingError`` instead.
  592. - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
  593. exception to be raised.
  594. - HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses
  595. ``"already_reported"``.
  596. - HTTP 226 reason added (``"im_used"``).
  597. **Bugfixes:**
  598. - Vastly improved proxy support, including the CONNECT verb. Special thanks to
  599. the many contributors who worked towards this improvement.
  600. - Cookies are now properly managed when 401 authentication responses are
  601. received.
  602. - Chunked encoding fixes.
  603. - Support for mixed case schemes.
  604. - Better handling of streaming downloads.
  605. - Retrieve environment proxies from more locations.
  606. - Minor cookies fixes.
  607. - Improved redirect behaviour.
  608. - Improved streaming behaviour, particularly for compressed data.
  609. - Miscellaneous small Python 3 text encoding bugs.
  610. - ``.netrc`` no longer overrides explicit auth.
  611. - Cookies set by hooks are now correctly persisted on Sessions.
  612. - Fix problem with cookies that specify port numbers in their host field.
  613. - ``BytesIO`` can be used to perform streaming uploads.
  614. - More generous parsing of the ``no_proxy`` environment variable.
  615. - Non-string objects can be passed in data values alongside files.
  616. 1.2.3 (2013-05-25)
  617. ++++++++++++++++++
  618. - Simple packaging fix
  619. 1.2.2 (2013-05-23)
  620. ++++++++++++++++++
  621. - Simple packaging fix
  622. 1.2.1 (2013-05-20)
  623. ++++++++++++++++++
  624. - 301 and 302 redirects now change the verb to GET for all verbs, not just
  625. POST, improving browser compatibility.
  626. - Python 3.3.2 compatibility
  627. - Always percent-encode location headers
  628. - Fix connection adapter matching to be most-specific first
  629. - new argument to the default connection adapter for passing a block argument
  630. - prevent a KeyError when there's no link headers
  631. 1.2.0 (2013-03-31)
  632. ++++++++++++++++++
  633. - Fixed cookies on sessions and on requests
  634. - Significantly change how hooks are dispatched - hooks now receive all the
  635. arguments specified by the user when making a request so hooks can make a
  636. secondary request with the same parameters. This is especially necessary for
  637. authentication handler authors
  638. - certifi support was removed
  639. - Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
  640. - Major proxy work thanks to @Lukasa including parsing of proxy authentication
  641. from the proxy url
  642. - Fix DigestAuth handling too many 401s
  643. - Update vendored urllib3 to include SSL bug fixes
  644. - Allow keyword arguments to be passed to ``json.loads()`` via the
  645. ``Response.json()`` method
  646. - Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
  647. requests
  648. - Add ``elapsed`` attribute to ``Response`` objects to time how long a request
  649. took.
  650. - Fix ``RequestsCookieJar``
  651. - Sessions and Adapters are now picklable, i.e., can be used with the
  652. multiprocessing library
  653. - Update charade to version 1.0.3
  654. The change in how hooks are dispatched will likely cause a great deal of
  655. issues.
  656. 1.1.0 (2013-01-10)
  657. ++++++++++++++++++
  658. - CHUNKED REQUESTS
  659. - Support for iterable response bodies
  660. - Assume servers persist redirect params
  661. - Allow explicit content types to be specified for file data
  662. - Make merge_kwargs case-insensitive when looking up keys
  663. 1.0.3 (2012-12-18)
  664. ++++++++++++++++++
  665. - Fix file upload encoding bug
  666. - Fix cookie behavior
  667. 1.0.2 (2012-12-17)
  668. ++++++++++++++++++
  669. - Proxy fix for HTTPAdapter.
  670. 1.0.1 (2012-12-17)
  671. ++++++++++++++++++
  672. - Cert verification exception bug.
  673. - Proxy fix for HTTPAdapter.
  674. 1.0.0 (2012-12-17)
  675. ++++++++++++++++++
  676. - Massive Refactor and Simplification
  677. - Switch to Apache 2.0 license
  678. - Swappable Connection Adapters
  679. - Mountable Connection Adapters
  680. - Mutable ProcessedRequest chain
  681. - /s/prefetch/stream
  682. - Removal of all configuration
  683. - Standard library logging
  684. - Make Response.json() callable, not property.
  685. - Usage of new charade project, which provides python 2 and 3 simultaneous chardet.
  686. - Removal of all hooks except 'response'
  687. - Removal of all authentication helpers (OAuth, Kerberos)
  688. This is not a backwards compatible change.
  689. 0.14.2 (2012-10-27)
  690. +++++++++++++++++++
  691. - Improved mime-compatible JSON handling
  692. - Proxy fixes
  693. - Path hack fixes
  694. - Case-Insensitive Content-Encoding headers
  695. - Support for CJK parameters in form posts
  696. 0.14.1 (2012-10-01)
  697. +++++++++++++++++++
  698. - Python 3.3 Compatibility
  699. - Simply default accept-encoding
  700. - Bugfixes
  701. 0.14.0 (2012-09-02)
  702. ++++++++++++++++++++
  703. - No more iter_content errors if already downloaded.
  704. 0.13.9 (2012-08-25)
  705. +++++++++++++++++++
  706. - Fix for OAuth + POSTs
  707. - Remove exception eating from dispatch_hook
  708. - General bugfixes
  709. 0.13.8 (2012-08-21)
  710. +++++++++++++++++++
  711. - Incredible Link header support :)
  712. 0.13.7 (2012-08-19)
  713. +++++++++++++++++++
  714. - Support for (key, value) lists everywhere.
  715. - Digest Authentication improvements.
  716. - Ensure proxy exclusions work properly.
  717. - Clearer UnicodeError exceptions.
  718. - Automatic casting of URLs to strings (fURL and such)
  719. - Bugfixes.
  720. 0.13.6 (2012-08-06)
  721. +++++++++++++++++++
  722. - Long awaited fix for hanging connections!
  723. 0.13.5 (2012-07-27)
  724. +++++++++++++++++++
  725. - Packaging fix
  726. 0.13.4 (2012-07-27)
  727. +++++++++++++++++++
  728. - GSSAPI/Kerberos authentication!
  729. - App Engine 2.7 Fixes!
  730. - Fix leaking connections (from urllib3 update)
  731. - OAuthlib path hack fix
  732. - OAuthlib URL parameters fix.
  733. 0.13.3 (2012-07-12)
  734. +++++++++++++++++++
  735. - Use simplejson if available.
  736. - Do not hide SSLErrors behind Timeouts.
  737. - Fixed param handling with urls containing fragments.
  738. - Significantly improved information in User Agent.
  739. - client certificates are ignored when verify=False
  740. 0.13.2 (2012-06-28)
  741. +++++++++++++++++++
  742. - Zero dependencies (once again)!
  743. - New: Response.reason
  744. - Sign querystring parameters in OAuth 1.0
  745. - Client certificates no longer ignored when verify=False
  746. - Add openSUSE certificate support
  747. 0.13.1 (2012-06-07)
  748. +++++++++++++++++++
  749. - Allow passing a file or file-like object as data.
  750. - Allow hooks to return responses that indicate errors.
  751. - Fix Response.text and Response.json for body-less responses.
  752. 0.13.0 (2012-05-29)
  753. +++++++++++++++++++
  754. - Removal of Requests.async in favor of `grequests <https://github.com/kennethreitz/grequests>`_
  755. - Allow disabling of cookie persistence.
  756. - New implementation of safe_mode
  757. - cookies.get now supports default argument
  758. - Session cookies not saved when Session.request is called with return_response=False
  759. - Env: no_proxy support.
  760. - RequestsCookieJar improvements.
  761. - Various bug fixes.
  762. 0.12.1 (2012-05-08)
  763. +++++++++++++++++++
  764. - New ``Response.json`` property.
  765. - Ability to add string file uploads.
  766. - Fix out-of-range issue with iter_lines.
  767. - Fix iter_content default size.
  768. - Fix POST redirects containing files.
  769. 0.12.0 (2012-05-02)
  770. +++++++++++++++++++
  771. - EXPERIMENTAL OAUTH SUPPORT!
  772. - Proper CookieJar-backed cookies interface with awesome dict-like interface.
  773. - Speed fix for non-iterated content chunks.
  774. - Move ``pre_request`` to a more usable place.
  775. - New ``pre_send`` hook.
  776. - Lazily encode data, params, files.
  777. - Load system Certificate Bundle if ``certify`` isn't available.
  778. - Cleanups, fixes.
  779. 0.11.2 (2012-04-22)
  780. +++++++++++++++++++
  781. - Attempt to use the OS's certificate bundle if ``certifi`` isn't available.
  782. - Infinite digest auth redirect fix.
  783. - Multi-part file upload improvements.
  784. - Fix decoding of invalid %encodings in URLs.
  785. - If there is no content in a response don't throw an error the second time that content is attempted to be read.
  786. - Upload data on redirects.
  787. 0.11.1 (2012-03-30)
  788. +++++++++++++++++++
  789. * POST redirects now break RFC to do what browsers do: Follow up with a GET.
  790. * New ``strict_mode`` configuration to disable new redirect behavior.
  791. 0.11.0 (2012-03-14)
  792. +++++++++++++++++++
  793. * Private SSL Certificate support
  794. * Remove select.poll from Gevent monkeypatching
  795. * Remove redundant generator for chunked transfer encoding
  796. * Fix: Response.ok raises Timeout Exception in safe_mode
  797. 0.10.8 (2012-03-09)
  798. +++++++++++++++++++
  799. * Generate chunked ValueError fix
  800. * Proxy configuration by environment variables
  801. * Simplification of iter_lines.
  802. * New `trust_env` configuration for disabling system/environment hints.
  803. * Suppress cookie errors.
  804. 0.10.7 (2012-03-07)
  805. +++++++++++++++++++
  806. * `encode_uri` = False
  807. 0.10.6 (2012-02-25)
  808. +++++++++++++++++++
  809. * Allow '=' in cookies.
  810. 0.10.5 (2012-02-25)
  811. +++++++++++++++++++
  812. * Response body with 0 content-length fix.
  813. * New async.imap.
  814. * Don't fail on netrc.
  815. 0.10.4 (2012-02-20)
  816. +++++++++++++++++++
  817. * Honor netrc.
  818. 0.10.3 (2012-02-20)
  819. +++++++++++++++++++
  820. * HEAD requests don't follow redirects anymore.
  821. * raise_for_status() doesn't raise for 3xx anymore.
  822. * Make Session objects picklable.
  823. * ValueError for invalid schema URLs.
  824. 0.10.2 (2012-01-15)
  825. +++++++++++++++++++
  826. * Vastly improved URL quoting.
  827. * Additional allowed cookie key values.
  828. * Attempted fix for "Too many open files" Error
  829. * Replace unicode errors on first pass, no need for second pass.
  830. * Append '/' to bare-domain urls before query insertion.
  831. * Exceptions now inherit from RuntimeError.
  832. * Binary uploads + auth fix.
  833. * Bugfixes.
  834. 0.10.1 (2012-01-23)
  835. +++++++++++++++++++
  836. * PYTHON 3 SUPPORT!
  837. * Dropped 2.5 Support. (*Backwards Incompatible*)
  838. 0.10.0 (2012-01-21)
  839. +++++++++++++++++++
  840. * ``Response.content`` is now bytes-only. (*Backwards Incompatible*)
  841. * New ``Response.text`` is unicode-only.
  842. * If no ``Response.encoding`` is specified and ``chardet`` is available, ``Response.text`` will guess an encoding.
  843. * Default to ISO-8859-1 (Western) encoding for "text" subtypes.
  844. * Removal of `decode_unicode`. (*Backwards Incompatible*)
  845. * New multiple-hooks system.
  846. * New ``Response.register_hook`` for registering hooks within the pipeline.
  847. * ``Response.url`` is now Unicode.
  848. 0.9.3 (2012-01-18)
  849. ++++++++++++++++++
  850. * SSL verify=False bugfix (apparent on windows machines).
  851. 0.9.2 (2012-01-18)
  852. ++++++++++++++++++
  853. * Asynchronous async.send method.
  854. * Support for proper chunk streams with boundaries.
  855. * session argument for Session classes.
  856. * Print entire hook tracebacks, not just exception instance.
  857. * Fix response.iter_lines from pending next line.
  858. * Fix but in HTTP-digest auth w/ URI having query strings.
  859. * Fix in Event Hooks section.
  860. * Urllib3 update.
  861. 0.9.1 (2012-01-06)
  862. ++++++++++++++++++
  863. * danger_mode for automatic Response.raise_for_status()
  864. * Response.iter_lines refactor
  865. 0.9.0 (2011-12-28)
  866. ++++++++++++++++++
  867. * verify ssl is default.
  868. 0.8.9 (2011-12-28)
  869. ++++++++++++++++++
  870. * Packaging fix.
  871. 0.8.8 (2011-12-28)
  872. ++++++++++++++++++
  873. * SSL CERT VERIFICATION!
  874. * Release of Cerifi: Mozilla's cert list.
  875. * New 'verify' argument for SSL requests.
  876. * Urllib3 update.
  877. 0.8.7 (2011-12-24)
  878. ++++++++++++++++++
  879. * iter_lines last-line truncation fix
  880. * Force safe_mode for async requests
  881. * Handle safe_mode exceptions more consistently
  882. * Fix iteration on null responses in safe_mode
  883. 0.8.6 (2011-12-18)
  884. ++++++++++++++++++
  885. * Socket timeout fixes.
  886. * Proxy Authorization support.
  887. 0.8.5 (2011-12-14)
  888. ++++++++++++++++++
  889. * Response.iter_lines!
  890. 0.8.4 (2011-12-11)
  891. ++++++++++++++++++
  892. * Prefetch bugfix.
  893. * Added license to installed version.
  894. 0.8.3 (2011-11-27)
  895. ++++++++++++++++++
  896. * Converted auth system to use simpler callable objects.
  897. * New session parameter to API methods.
  898. * Display full URL while logging.
  899. 0.8.2 (2011-11-19)
  900. ++++++++++++++++++
  901. * New Unicode decoding system, based on over-ridable `Response.encoding`.
  902. * Proper URL slash-quote handling.
  903. * Cookies with ``[``, ``]``, and ``_`` allowed.
  904. 0.8.1 (2011-11-15)
  905. ++++++++++++++++++
  906. * URL Request path fix
  907. * Proxy fix.
  908. * Timeouts fix.
  909. 0.8.0 (2011-11-13)
  910. ++++++++++++++++++
  911. * Keep-alive support!
  912. * Complete removal of Urllib2
  913. * Complete removal of Poster
  914. * Complete removal of CookieJars
  915. * New ConnectionError raising
  916. * Safe_mode for error catching
  917. * prefetch parameter for request methods
  918. * OPTION method
  919. * Async pool size throttling
  920. * File uploads send real names
  921. * Vendored in urllib3
  922. 0.7.6 (2011-11-07)
  923. ++++++++++++++++++
  924. * Digest authentication bugfix (attach query data to path)
  925. 0.7.5 (2011-11-04)
  926. ++++++++++++++++++
  927. * Response.content = None if there was an invalid response.
  928. * Redirection auth handling.
  929. 0.7.4 (2011-10-26)
  930. ++++++++++++++++++
  931. * Session Hooks fix.
  932. 0.7.3 (2011-10-23)
  933. ++++++++++++++++++
  934. * Digest Auth fix.
  935. 0.7.2 (2011-10-23)
  936. ++++++++++++++++++
  937. * PATCH Fix.
  938. 0.7.1 (2011-10-23)
  939. ++++++++++++++++++
  940. * Move away from urllib2 authentication handling.
  941. * Fully Remove AuthManager, AuthObject, &c.
  942. * New tuple-based auth system with handler callbacks.
  943. 0.7.0 (2011-10-22)
  944. ++++++++++++++++++
  945. * Sessions are now the primary interface.
  946. * Deprecated InvalidMethodException.
  947. * PATCH fix.
  948. * New config system (no more global settings).
  949. 0.6.6 (2011-10-19)
  950. ++++++++++++++++++
  951. * Session parameter bugfix (params merging).
  952. 0.6.5 (2011-10-18)
  953. ++++++++++++++++++
  954. * Offline (fast) test suite.
  955. * Session dictionary argument merging.
  956. 0.6.4 (2011-10-13)
  957. ++++++++++++++++++
  958. * Automatic decoding of unicode, based on HTTP Headers.
  959. * New ``decode_unicode`` setting.
  960. * Removal of ``r.read/close`` methods.
  961. * New ``r.faw`` interface for advanced response usage.*
  962. * Automatic expansion of parameterized headers.
  963. 0.6.3 (2011-10-13)
  964. ++++++++++++++++++
  965. * Beautiful ``requests.async`` module, for making async requests w/ gevent.
  966. 0.6.2 (2011-10-09)
  967. ++++++++++++++++++
  968. * GET/HEAD obeys allow_redirects=False.
  969. 0.6.1 (2011-08-20)
  970. ++++++++++++++++++
  971. * Enhanced status codes experience ``\o/``
  972. * Set a maximum number of redirects (``settings.max_redirects``)
  973. * Full Unicode URL support
  974. * Support for protocol-less redirects.
  975. * Allow for arbitrary request types.
  976. * Bugfixes
  977. 0.6.0 (2011-08-17)
  978. ++++++++++++++++++
  979. * New callback hook system
  980. * New persistent sessions object and context manager
  981. * Transparent Dict-cookie handling
  982. * Status code reference object
  983. * Removed Response.cached
  984. * Added Response.request
  985. * All args are kwargs
  986. * Relative redirect support
  987. * HTTPError handling improvements
  988. * Improved https testing
  989. * Bugfixes
  990. 0.5.1 (2011-07-23)
  991. ++++++++++++++++++
  992. * International Domain Name Support!
  993. * Access headers without fetching entire body (``read()``)
  994. * Use lists as dicts for parameters
  995. * Add Forced Basic Authentication
  996. * Forced Basic is default authentication type
  997. * ``python-requests.org`` default User-Agent header
  998. * CaseInsensitiveDict lower-case caching
  999. * Response.history bugfix
  1000. 0.5.0 (2011-06-21)
  1001. ++++++++++++++++++
  1002. * PATCH Support
  1003. * Support for Proxies
  1004. * HTTPBin Test Suite
  1005. * Redirect Fixes
  1006. * settings.verbose stream writing
  1007. * Querystrings for all methods
  1008. * URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicitly raised
  1009. ``r.requests.get('hwe://blah'); r.raise_for_status()``
  1010. 0.4.1 (2011-05-22)
  1011. ++++++++++++++++++
  1012. * Improved Redirection Handling
  1013. * New 'allow_redirects' param for following non-GET/HEAD Redirects
  1014. * Settings module refactoring
  1015. 0.4.0 (2011-05-15)
  1016. ++++++++++++++++++
  1017. * Response.history: list of redirected responses
  1018. * Case-Insensitive Header Dictionaries!
  1019. * Unicode URLs
  1020. 0.3.4 (2011-05-14)
  1021. ++++++++++++++++++
  1022. * Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
  1023. * Internal Refactor
  1024. * Bytes data upload Bugfix
  1025. 0.3.3 (2011-05-12)
  1026. ++++++++++++++++++
  1027. * Request timeouts
  1028. * Unicode url-encoded data
  1029. * Settings context manager and module
  1030. 0.3.2 (2011-04-15)
  1031. ++++++++++++++++++
  1032. * Automatic Decompression of GZip Encoded Content
  1033. * AutoAuth Support for Tupled HTTP Auth
  1034. 0.3.1 (2011-04-01)
  1035. ++++++++++++++++++
  1036. * Cookie Changes
  1037. * Response.read()
  1038. * Poster fix
  1039. 0.3.0 (2011-02-25)
  1040. ++++++++++++++++++
  1041. * Automatic Authentication API Change
  1042. * Smarter Query URL Parameterization
  1043. * Allow file uploads and POST data together
  1044. * New Authentication Manager System
  1045. - Simpler Basic HTTP System
  1046. - Supports all build-in urllib2 Auths
  1047. - Allows for custom Auth Handlers
  1048. 0.2.4 (2011-02-19)
  1049. ++++++++++++++++++
  1050. * Python 2.5 Support
  1051. * PyPy-c v1.4 Support
  1052. * Auto-Authentication tests
  1053. * Improved Request object constructor
  1054. 0.2.3 (2011-02-15)
  1055. ++++++++++++++++++
  1056. * New HTTPHandling Methods
  1057. - Response.__nonzero__ (false if bad HTTP Status)
  1058. - Response.ok (True if expected HTTP Status)
  1059. - Response.error (Logged HTTPError if bad HTTP Status)
  1060. - Response.raise_for_status() (Raises stored HTTPError)
  1061. 0.2.2 (2011-02-14)
  1062. ++++++++++++++++++
  1063. * Still handles request in the event of an HTTPError. (Issue #2)
  1064. * Eventlet and Gevent Monkeypatch support.
  1065. * Cookie Support (Issue #1)
  1066. 0.2.1 (2011-02-14)
  1067. ++++++++++++++++++
  1068. * Added file attribute to POST and PUT requests for multipart-encode file uploads.
  1069. * Added Request.url attribute for context and redirects
  1070. 0.2.0 (2011-02-14)
  1071. ++++++++++++++++++
  1072. * Birth!
  1073. 0.0.1 (2011-02-13)
  1074. ++++++++++++++++++
  1075. * Frustration
  1076. * Conception