PKG-INFO 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  1. Metadata-Version: 1.1
  2. Name: requests
  3. Version: 2.6.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. Description: Requests: HTTP for Humans
  10. =========================
  11. .. image:: https://img.shields.io/pypi/v/requests.svg
  12. :target: https://pypi.python.org/pypi/requests
  13. .. image:: https://img.shields.io/pypi/dm/requests.svg
  14. :target: https://pypi.python.org/pypi/requests
  15. Requests is an Apache2 Licensed HTTP library, written in Python, for human
  16. beings.
  17. Most existing Python modules for sending HTTP requests are extremely
  18. verbose and cumbersome. Python's builtin urllib2 module provides most of
  19. the HTTP capabilities you should need, but the api is thoroughly broken.
  20. It requires an enormous amount of work (even method overrides) to
  21. perform the simplest of tasks.
  22. Things shouldn't be this way. Not in Python.
  23. .. code-block:: python
  24. >>> r = requests.get('https://api.github.com', auth=('user', 'pass'))
  25. >>> r.status_code
  26. 204
  27. >>> r.headers['content-type']
  28. 'application/json'
  29. >>> r.text
  30. ...
  31. See `the same code, without Requests <https://gist.github.com/973705>`_.
  32. Requests allow you to send HTTP/1.1 requests. You can add headers, form data,
  33. multipart files, and parameters with simple Python dictionaries, and access the
  34. response data in the same way. It's powered by httplib and `urllib3
  35. <https://github.com/shazow/urllib3>`_, but it does all the hard work and crazy
  36. hacks for you.
  37. Features
  38. --------
  39. - International Domains and URLs
  40. - Keep-Alive & Connection Pooling
  41. - Sessions with Cookie Persistence
  42. - Browser-style SSL Verification
  43. - Basic/Digest Authentication
  44. - Elegant Key/Value Cookies
  45. - Automatic Decompression
  46. - Unicode Response Bodies
  47. - Multipart File Uploads
  48. - Connection Timeouts
  49. - Thread-safety
  50. - HTTP(S) proxy support
  51. Installation
  52. ------------
  53. To install Requests, simply:
  54. .. code-block:: bash
  55. $ pip install requests
  56. Documentation
  57. -------------
  58. Documentation is available at http://docs.python-requests.org/.
  59. Contribute
  60. ----------
  61. #. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a `Contributor Friendly`_ tag for issues that should be ideal for people who are not very familiar with the codebase yet.
  62. #. If you feel uncomfortable or uncertain about an issue or your changes, feel free to email @sigmavirus24 and he will happily help you via email, Skype, remote pairing or whatever you are comfortable with.
  63. #. Fork `the repository`_ on GitHub to start making your changes to the **master** branch (or branch off of it).
  64. #. Write a test which shows that the bug was fixed or that the feature works as expected.
  65. #. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.
  66. .. _`the repository`: http://github.com/kennethreitz/requests
  67. .. _AUTHORS: https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst
  68. .. _Contributor Friendly: https://github.com/kennethreitz/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open
  69. .. :changelog:
  70. Release History
  71. ---------------
  72. 2.6.0 (2015-03-14)
  73. ++++++++++++++++++
  74. **Bugfixes**
  75. - Fix handling of cookies on redirect. Previously a cookie without a host
  76. value set would use the hostname for the redirected URL exposing requests
  77. users to session fixation attacks and potentially cookie stealing. This was
  78. disclosed privately by Matthew Daley of `BugFuzz <https://bugfuzz.com>`_.
  79. An CVE identifier has not yet been assigned for this. This affects all
  80. versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).
  81. - Fix error when requests is an ``install_requires`` dependency and ``python
  82. setup.py test`` is run. (#2462)
  83. - Fix error when urllib3 is unbundled and requests continues to use the
  84. vendored import location.
  85. - Include fixes to ``urllib3``'s header handling.
  86. - Requests' handling of unvendored dependencies is now more restrictive.
  87. **Features and Improvements**
  88. - Support bytearrays when passed as parameters in the ``files`` argument.
  89. (#2468)
  90. - Avoid data duplication when creating a request with ``str``, ``bytes``, or
  91. ``bytearray`` input to the ``files`` argument.
  92. 2.5.3 (2015-02-24)
  93. ++++++++++++++++++
  94. **Bugfixes**
  95. - Revert changes to our vendored certificate bundle. For more context see
  96. (#2455, #2456, and http://bugs.python.org/issue23476)
  97. 2.5.2 (2015-02-23)
  98. ++++++++++++++++++
  99. **Features and Improvements**
  100. - Add sha256 fingerprint support. (`shazow/urllib3#540`_)
  101. - Improve the performance of headers. (`shazow/urllib3#544`_)
  102. **Bugfixes**
  103. - Copy pip's import machinery. When downstream redistributors remove
  104. requests.packages.urllib3 the import machinery will continue to let those
  105. same symbols work. Example usage in requests' documentation and 3rd-party
  106. libraries relying on the vendored copies of urllib3 will work without having
  107. to fallback to the system urllib3.
  108. - Attempt to quote parts of the URL on redirect if unquoting and then quoting
  109. fails. (#2356)
  110. - Fix filename type check for multipart form-data uploads. (#2411)
  111. - Properly handle the case where a server issuing digest authentication
  112. challenges provides both auth and auth-int qop-values. (#2408)
  113. - Fix a socket leak. (`shazow/urllib3#549`_)
  114. - Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)
  115. - Disable the built-in hostname verification. (`shazow/urllib3#526`_)
  116. - Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)
  117. **Security**
  118. - Pulled in an updated ``cacert.pem``.
  119. - Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)
  120. .. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551
  121. .. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549
  122. .. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544
  123. .. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540
  124. .. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535
  125. .. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534
  126. .. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/526
  127. 2.5.1 (2014-12-23)
  128. ++++++++++++++++++
  129. **Behavioural Changes**
  130. - Only catch HTTPErrors in raise_for_status (#2382)
  131. **Bugfixes**
  132. - Handle LocationParseError from urllib3 (#2344)
  133. - Handle file-like object filenames that are not strings (#2379)
  134. - Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated (#2389)
  135. 2.5.0 (2014-12-01)
  136. ++++++++++++++++++
  137. **Improvements**
  138. - Allow usage of urllib3's Retry object with HTTPAdapters (#2216)
  139. - The ``iter_lines`` method on a response now accepts a delimiter with which
  140. to split the content (#2295)
  141. **Behavioural Changes**
  142. - Add deprecation warnings to functions in requests.utils that will be removed
  143. in 3.0 (#2309)
  144. - Sessions used by the functional API are always closed (#2326)
  145. - Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9) (#2323)
  146. **Bugfixes**
  147. - Only parse the URL once (#2353)
  148. - Allow Content-Length header to always be overriden (#2332)
  149. - Properly handle files in HTTPDigestAuth (#2333)
  150. - Cap redirect_cache size to prevent memory abuse (#2299)
  151. - Fix HTTPDigestAuth handling of redirects after authenticating successfully
  152. (#2253)
  153. - Fix crash with custom method parameter to Session.request (#2317)
  154. - Fix how Link headers are parsed using the regular expression library (#2271)
  155. **Documentation**
  156. - Add more references for interlinking (#2348)
  157. - Update CSS for theme (#2290)
  158. - Update width of buttons and sidebar (#2289)
  159. - Replace references of Gittip with Gratipay (#2282)
  160. - Add link to changelog in sidebar (#2273)
  161. 2.4.3 (2014-10-06)
  162. ++++++++++++++++++
  163. **Bugfixes**
  164. - Unicode URL improvements for Python 2.
  165. - Re-order JSON param for backwards compat.
  166. - Automatically defrag authentication schemes from host/pass URIs. (`#2249 <https://github.com/kennethreitz/requests/issues/2249>`_)
  167. 2.4.2 (2014-10-05)
  168. ++++++++++++++++++
  169. **Improvements**
  170. - FINALLY! Add json parameter for uploads! (`#2258 <https://github.com/kennethreitz/requests/pull/2258>`_)
  171. - Support for bytestring URLs on Python 3.x (`#2238 <https://github.com/kennethreitz/requests/pull/2238>`_)
  172. **Bugfixes**
  173. - Avoid getting stuck in a loop (`#2244 <https://github.com/kennethreitz/requests/pull/2244>`_)
  174. - Multiple calls to iter* fail with unhelpful error. (`#2240 <https://github.com/kennethreitz/requests/issues/2240>`_, `#2241 <https://github.com/kennethreitz/requests/issues/2241>`_)
  175. **Documentation**
  176. - Correct redirection introduction (`#2245 <https://github.com/kennethreitz/requests/pull/2245/>`_)
  177. - Added example of how to send multiple files in one request. (`#2227 <https://github.com/kennethreitz/requests/pull/2227/>`_)
  178. - Clarify how to pass a custom set of CAs (`#2248 <https://github.com/kennethreitz/requests/pull/2248/>`_)
  179. 2.4.1 (2014-09-09)
  180. ++++++++++++++++++
  181. - Now has a "security" package extras set, ``$ pip install requests[security]``
  182. - Requests will now use Certifi if it is available.
  183. - Capture and re-raise urllib3 ProtocolError
  184. - Bugfix for responses that attempt to redirect to themselves forever (wtf?).
  185. 2.4.0 (2014-08-29)
  186. ++++++++++++++++++
  187. **Behavioral Changes**
  188. - ``Connection: keep-alive`` header is now sent automatically.
  189. **Improvements**
  190. - Support for connect timeouts! Timeout now accepts a tuple (connect, read) which is used to set individual connect and read timeouts.
  191. - Allow copying of PreparedRequests without headers/cookies.
  192. - Updated bundled urllib3 version.
  193. - Refactored settings loading from environment -- new `Session.merge_environment_settings`.
  194. - Handle socket errors in iter_content.
  195. 2.3.0 (2014-05-16)
  196. ++++++++++++++++++
  197. **API Changes**
  198. - New ``Response`` property ``is_redirect``, which is true when the
  199. library could have processed this response as a redirection (whether
  200. or not it actually did).
  201. - The ``timeout`` parameter now affects requests with both ``stream=True`` and
  202. ``stream=False`` equally.
  203. - The change in v2.0.0 to mandate explicit proxy schemes has been reverted.
  204. Proxy schemes now default to ``http://``.
  205. - The ``CaseInsensitiveDict`` used for HTTP headers now behaves like a normal
  206. dictionary when references as string or viewed in the interpreter.
  207. **Bugfixes**
  208. - No longer expose Authorization or Proxy-Authorization headers on redirect.
  209. Fix CVE-2014-1829 and CVE-2014-1830 respectively.
  210. - Authorization is re-evaluated each redirect.
  211. - On redirect, pass url as native strings.
  212. - Fall-back to autodetected encoding for JSON when Unicode detection fails.
  213. - Headers set to ``None`` on the ``Session`` are now correctly not sent.
  214. - Correctly honor ``decode_unicode`` even if it wasn't used earlier in the same
  215. response.
  216. - Stop advertising ``compress`` as a supported Content-Encoding.
  217. - The ``Response.history`` parameter is now always a list.
  218. - Many, many ``urllib3`` bugfixes.
  219. 2.2.1 (2014-01-23)
  220. ++++++++++++++++++
  221. **Bugfixes**
  222. - Fixes incorrect parsing of proxy credentials that contain a literal or encoded '#' character.
  223. - Assorted urllib3 fixes.
  224. 2.2.0 (2014-01-09)
  225. ++++++++++++++++++
  226. **API Changes**
  227. - New exception: ``ContentDecodingError``. Raised instead of ``urllib3``
  228. ``DecodeError`` exceptions.
  229. **Bugfixes**
  230. - Avoid many many exceptions from the buggy implementation of ``proxy_bypass`` on OS X in Python 2.6.
  231. - Avoid crashing when attempting to get authentication credentials from ~/.netrc when running as a user without a home directory.
  232. - Use the correct pool size for pools of connections to proxies.
  233. - Fix iteration of ``CookieJar`` objects.
  234. - Ensure that cookies are persisted over redirect.
  235. - Switch back to using chardet, since it has merged with charade.
  236. 2.1.0 (2013-12-05)
  237. ++++++++++++++++++
  238. - Updated CA Bundle, of course.
  239. - Cookies set on individual Requests through a ``Session`` (e.g. via ``Session.get()``) are no longer persisted to the ``Session``.
  240. - Clean up connections when we hit problems during chunked upload, rather than leaking them.
  241. - Return connections to the pool when a chunked upload is successful, rather than leaking it.
  242. - Match the HTTPbis recommendation for HTTP 301 redirects.
  243. - Prevent hanging when using streaming uploads and Digest Auth when a 401 is received.
  244. - Values of headers set by Requests are now always the native string type.
  245. - Fix previously broken SNI support.
  246. - Fix accessing HTTP proxies using proxy authentication.
  247. - Unencode HTTP Basic usernames and passwords extracted from URLs.
  248. - Support for IP address ranges for no_proxy environment variable
  249. - Parse headers correctly when users override the default ``Host:`` header.
  250. - Avoid munging the URL in case of case-sensitive servers.
  251. - Looser URL handling for non-HTTP/HTTPS urls.
  252. - Accept unicode methods in Python 2.6 and 2.7.
  253. - More resilient cookie handling.
  254. - Make ``Response`` objects pickleable.
  255. - Actually added MD5-sess to Digest Auth instead of pretending to like last time.
  256. - Updated internal urllib3.
  257. - Fixed @Lukasa's lack of taste.
  258. 2.0.1 (2013-10-24)
  259. ++++++++++++++++++
  260. - Updated included CA Bundle with new mistrusts and automated process for the future
  261. - Added MD5-sess to Digest Auth
  262. - Accept per-file headers in multipart file POST messages.
  263. - Fixed: Don't send the full URL on CONNECT messages.
  264. - Fixed: Correctly lowercase a redirect scheme.
  265. - Fixed: Cookies not persisted when set via functional API.
  266. - Fixed: Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError.
  267. - Updated internal urllib3 and chardet.
  268. 2.0.0 (2013-09-24)
  269. ++++++++++++++++++
  270. **API Changes:**
  271. - Keys in the Headers dictionary are now native strings on all Python versions,
  272. i.e. bytestrings on Python 2, unicode on Python 3.
  273. - Proxy URLs now *must* have an explicit scheme. A ``MissingSchema`` exception
  274. will be raised if they don't.
  275. - Timeouts now apply to read time if ``Stream=False``.
  276. - ``RequestException`` is now a subclass of ``IOError``, not ``RuntimeError``.
  277. - Added new method to ``PreparedRequest`` objects: ``PreparedRequest.copy()``.
  278. - Added new method to ``Session`` objects: ``Session.update_request()``. This
  279. method updates a ``Request`` object with the data (e.g. cookies) stored on
  280. the ``Session``.
  281. - Added new method to ``Session`` objects: ``Session.prepare_request()``. This
  282. method updates and prepares a ``Request`` object, and returns the
  283. corresponding ``PreparedRequest`` object.
  284. - Added new method to ``HTTPAdapter`` objects: ``HTTPAdapter.proxy_headers()``.
  285. This should not be called directly, but improves the subclass interface.
  286. - ``httplib.IncompleteRead`` exceptions caused by incorrect chunked encoding
  287. will now raise a Requests ``ChunkedEncodingError`` instead.
  288. - Invalid percent-escape sequences now cause a Requests ``InvalidURL``
  289. exception to be raised.
  290. - HTTP 208 no longer uses reason phrase ``"im_used"``. Correctly uses
  291. ``"already_reported"``.
  292. - HTTP 226 reason added (``"im_used"``).
  293. **Bugfixes:**
  294. - Vastly improved proxy support, including the CONNECT verb. Special thanks to
  295. the many contributors who worked towards this improvement.
  296. - Cookies are now properly managed when 401 authentication responses are
  297. received.
  298. - Chunked encoding fixes.
  299. - Support for mixed case schemes.
  300. - Better handling of streaming downloads.
  301. - Retrieve environment proxies from more locations.
  302. - Minor cookies fixes.
  303. - Improved redirect behaviour.
  304. - Improved streaming behaviour, particularly for compressed data.
  305. - Miscellaneous small Python 3 text encoding bugs.
  306. - ``.netrc`` no longer overrides explicit auth.
  307. - Cookies set by hooks are now correctly persisted on Sessions.
  308. - Fix problem with cookies that specify port numbers in their host field.
  309. - ``BytesIO`` can be used to perform streaming uploads.
  310. - More generous parsing of the ``no_proxy`` environment variable.
  311. - Non-string objects can be passed in data values alongside files.
  312. 1.2.3 (2013-05-25)
  313. ++++++++++++++++++
  314. - Simple packaging fix
  315. 1.2.2 (2013-05-23)
  316. ++++++++++++++++++
  317. - Simple packaging fix
  318. 1.2.1 (2013-05-20)
  319. ++++++++++++++++++
  320. - 301 and 302 redirects now change the verb to GET for all verbs, not just
  321. POST, improving browser compatibility.
  322. - Python 3.3.2 compatibility
  323. - Always percent-encode location headers
  324. - Fix connection adapter matching to be most-specific first
  325. - new argument to the default connection adapter for passing a block argument
  326. - prevent a KeyError when there's no link headers
  327. 1.2.0 (2013-03-31)
  328. ++++++++++++++++++
  329. - Fixed cookies on sessions and on requests
  330. - Significantly change how hooks are dispatched - hooks now receive all the
  331. arguments specified by the user when making a request so hooks can make a
  332. secondary request with the same parameters. This is especially necessary for
  333. authentication handler authors
  334. - certifi support was removed
  335. - Fixed bug where using OAuth 1 with body ``signature_type`` sent no data
  336. - Major proxy work thanks to @Lukasa including parsing of proxy authentication
  337. from the proxy url
  338. - Fix DigestAuth handling too many 401s
  339. - Update vendored urllib3 to include SSL bug fixes
  340. - Allow keyword arguments to be passed to ``json.loads()`` via the
  341. ``Response.json()`` method
  342. - Don't send ``Content-Length`` header by default on ``GET`` or ``HEAD``
  343. requests
  344. - Add ``elapsed`` attribute to ``Response`` objects to time how long a request
  345. took.
  346. - Fix ``RequestsCookieJar``
  347. - Sessions and Adapters are now picklable, i.e., can be used with the
  348. multiprocessing library
  349. - Update charade to version 1.0.3
  350. The change in how hooks are dispatched will likely cause a great deal of
  351. issues.
  352. 1.1.0 (2013-01-10)
  353. ++++++++++++++++++
  354. - CHUNKED REQUESTS
  355. - Support for iterable response bodies
  356. - Assume servers persist redirect params
  357. - Allow explicit content types to be specified for file data
  358. - Make merge_kwargs case-insensitive when looking up keys
  359. 1.0.3 (2012-12-18)
  360. ++++++++++++++++++
  361. - Fix file upload encoding bug
  362. - Fix cookie behavior
  363. 1.0.2 (2012-12-17)
  364. ++++++++++++++++++
  365. - Proxy fix for HTTPAdapter.
  366. 1.0.1 (2012-12-17)
  367. ++++++++++++++++++
  368. - Cert verification exception bug.
  369. - Proxy fix for HTTPAdapter.
  370. 1.0.0 (2012-12-17)
  371. ++++++++++++++++++
  372. - Massive Refactor and Simplification
  373. - Switch to Apache 2.0 license
  374. - Swappable Connection Adapters
  375. - Mountable Connection Adapters
  376. - Mutable ProcessedRequest chain
  377. - /s/prefetch/stream
  378. - Removal of all configuration
  379. - Standard library logging
  380. - Make Response.json() callable, not property.
  381. - Usage of new charade project, which provides python 2 and 3 simultaneous chardet.
  382. - Removal of all hooks except 'response'
  383. - Removal of all authentication helpers (OAuth, Kerberos)
  384. This is not a backwards compatible change.
  385. 0.14.2 (2012-10-27)
  386. +++++++++++++++++++
  387. - Improved mime-compatible JSON handling
  388. - Proxy fixes
  389. - Path hack fixes
  390. - Case-Insensistive Content-Encoding headers
  391. - Support for CJK parameters in form posts
  392. 0.14.1 (2012-10-01)
  393. +++++++++++++++++++
  394. - Python 3.3 Compatibility
  395. - Simply default accept-encoding
  396. - Bugfixes
  397. 0.14.0 (2012-09-02)
  398. ++++++++++++++++++++
  399. - No more iter_content errors if already downloaded.
  400. 0.13.9 (2012-08-25)
  401. +++++++++++++++++++
  402. - Fix for OAuth + POSTs
  403. - Remove exception eating from dispatch_hook
  404. - General bugfixes
  405. 0.13.8 (2012-08-21)
  406. +++++++++++++++++++
  407. - Incredible Link header support :)
  408. 0.13.7 (2012-08-19)
  409. +++++++++++++++++++
  410. - Support for (key, value) lists everywhere.
  411. - Digest Authentication improvements.
  412. - Ensure proxy exclusions work properly.
  413. - Clearer UnicodeError exceptions.
  414. - Automatic casting of URLs to tsrings (fURL and such)
  415. - Bugfixes.
  416. 0.13.6 (2012-08-06)
  417. +++++++++++++++++++
  418. - Long awaited fix for hanging connections!
  419. 0.13.5 (2012-07-27)
  420. +++++++++++++++++++
  421. - Packaging fix
  422. 0.13.4 (2012-07-27)
  423. +++++++++++++++++++
  424. - GSSAPI/Kerberos authentication!
  425. - App Engine 2.7 Fixes!
  426. - Fix leaking connections (from urllib3 update)
  427. - OAuthlib path hack fix
  428. - OAuthlib URL parameters fix.
  429. 0.13.3 (2012-07-12)
  430. +++++++++++++++++++
  431. - Use simplejson if available.
  432. - Do not hide SSLErrors behind Timeouts.
  433. - Fixed param handling with urls containing fragments.
  434. - Significantly improved information in User Agent.
  435. - client certificates are ignored when verify=False
  436. 0.13.2 (2012-06-28)
  437. +++++++++++++++++++
  438. - Zero dependencies (once again)!
  439. - New: Response.reason
  440. - Sign querystring parameters in OAuth 1.0
  441. - Client certificates no longer ignored when verify=False
  442. - Add openSUSE certificate support
  443. 0.13.1 (2012-06-07)
  444. +++++++++++++++++++
  445. - Allow passing a file or file-like object as data.
  446. - Allow hooks to return responses that indicate errors.
  447. - Fix Response.text and Response.json for body-less responses.
  448. 0.13.0 (2012-05-29)
  449. +++++++++++++++++++
  450. - Removal of Requests.async in favor of `grequests <https://github.com/kennethreitz/grequests>`_
  451. - Allow disabling of cookie persistiance.
  452. - New implimentation of safe_mode
  453. - cookies.get now supports default argument
  454. - Session cookies not saved when Session.request is called with return_response=False
  455. - Env: no_proxy support.
  456. - RequestsCookieJar improvements.
  457. - Various bug fixes.
  458. 0.12.1 (2012-05-08)
  459. +++++++++++++++++++
  460. - New ``Response.json`` property.
  461. - Ability to add string file uploads.
  462. - Fix out-of-range issue with iter_lines.
  463. - Fix iter_content default size.
  464. - Fix POST redirects containing files.
  465. 0.12.0 (2012-05-02)
  466. +++++++++++++++++++
  467. - EXPERIMENTAL OAUTH SUPPORT!
  468. - Proper CookieJar-backed cookies interface with awesome dict-like interface.
  469. - Speed fix for non-iterated content chunks.
  470. - Move ``pre_request`` to a more usable place.
  471. - New ``pre_send`` hook.
  472. - Lazily encode data, params, files.
  473. - Load system Certificate Bundle if ``certify`` isn't available.
  474. - Cleanups, fixes.
  475. 0.11.2 (2012-04-22)
  476. +++++++++++++++++++
  477. - Attempt to use the OS's certificate bundle if ``certifi`` isn't available.
  478. - Infinite digest auth redirect fix.
  479. - Multi-part file upload improvements.
  480. - Fix decoding of invalid %encodings in URLs.
  481. - If there is no content in a response don't throw an error the second time that content is attempted to be read.
  482. - Upload data on redirects.
  483. 0.11.1 (2012-03-30)
  484. +++++++++++++++++++
  485. * POST redirects now break RFC to do what browsers do: Follow up with a GET.
  486. * New ``strict_mode`` configuration to disable new redirect behavior.
  487. 0.11.0 (2012-03-14)
  488. +++++++++++++++++++
  489. * Private SSL Certificate support
  490. * Remove select.poll from Gevent monkeypatching
  491. * Remove redundant generator for chunked transfer encoding
  492. * Fix: Response.ok raises Timeout Exception in safe_mode
  493. 0.10.8 (2012-03-09)
  494. +++++++++++++++++++
  495. * Generate chunked ValueError fix
  496. * Proxy configuration by environment variables
  497. * Simplification of iter_lines.
  498. * New `trust_env` configuration for disabling system/environment hints.
  499. * Suppress cookie errors.
  500. 0.10.7 (2012-03-07)
  501. +++++++++++++++++++
  502. * `encode_uri` = False
  503. 0.10.6 (2012-02-25)
  504. +++++++++++++++++++
  505. * Allow '=' in cookies.
  506. 0.10.5 (2012-02-25)
  507. +++++++++++++++++++
  508. * Response body with 0 content-length fix.
  509. * New async.imap.
  510. * Don't fail on netrc.
  511. 0.10.4 (2012-02-20)
  512. +++++++++++++++++++
  513. * Honor netrc.
  514. 0.10.3 (2012-02-20)
  515. +++++++++++++++++++
  516. * HEAD requests don't follow redirects anymore.
  517. * raise_for_status() doesn't raise for 3xx anymore.
  518. * Make Session objects picklable.
  519. * ValueError for invalid schema URLs.
  520. 0.10.2 (2012-01-15)
  521. +++++++++++++++++++
  522. * Vastly improved URL quoting.
  523. * Additional allowed cookie key values.
  524. * Attempted fix for "Too many open files" Error
  525. * Replace unicode errors on first pass, no need for second pass.
  526. * Append '/' to bare-domain urls before query insertion.
  527. * Exceptions now inherit from RuntimeError.
  528. * Binary uploads + auth fix.
  529. * Bugfixes.
  530. 0.10.1 (2012-01-23)
  531. +++++++++++++++++++
  532. * PYTHON 3 SUPPORT!
  533. * Dropped 2.5 Support. (*Backwards Incompatible*)
  534. 0.10.0 (2012-01-21)
  535. +++++++++++++++++++
  536. * ``Response.content`` is now bytes-only. (*Backwards Incompatible*)
  537. * New ``Response.text`` is unicode-only.
  538. * If no ``Response.encoding`` is specified and ``chardet`` is available, ``Respoonse.text`` will guess an encoding.
  539. * Default to ISO-8859-1 (Western) encoding for "text" subtypes.
  540. * Removal of `decode_unicode`. (*Backwards Incompatible*)
  541. * New multiple-hooks system.
  542. * New ``Response.register_hook`` for registering hooks within the pipeline.
  543. * ``Response.url`` is now Unicode.
  544. 0.9.3 (2012-01-18)
  545. ++++++++++++++++++
  546. * SSL verify=False bugfix (apparent on windows machines).
  547. 0.9.2 (2012-01-18)
  548. ++++++++++++++++++
  549. * Asynchronous async.send method.
  550. * Support for proper chunk streams with boundaries.
  551. * session argument for Session classes.
  552. * Print entire hook tracebacks, not just exception instance.
  553. * Fix response.iter_lines from pending next line.
  554. * Fix but in HTTP-digest auth w/ URI having query strings.
  555. * Fix in Event Hooks section.
  556. * Urllib3 update.
  557. 0.9.1 (2012-01-06)
  558. ++++++++++++++++++
  559. * danger_mode for automatic Response.raise_for_status()
  560. * Response.iter_lines refactor
  561. 0.9.0 (2011-12-28)
  562. ++++++++++++++++++
  563. * verify ssl is default.
  564. 0.8.9 (2011-12-28)
  565. ++++++++++++++++++
  566. * Packaging fix.
  567. 0.8.8 (2011-12-28)
  568. ++++++++++++++++++
  569. * SSL CERT VERIFICATION!
  570. * Release of Cerifi: Mozilla's cert list.
  571. * New 'verify' argument for SSL requests.
  572. * Urllib3 update.
  573. 0.8.7 (2011-12-24)
  574. ++++++++++++++++++
  575. * iter_lines last-line truncation fix
  576. * Force safe_mode for async requests
  577. * Handle safe_mode exceptions more consistently
  578. * Fix iteration on null responses in safe_mode
  579. 0.8.6 (2011-12-18)
  580. ++++++++++++++++++
  581. * Socket timeout fixes.
  582. * Proxy Authorization support.
  583. 0.8.5 (2011-12-14)
  584. ++++++++++++++++++
  585. * Response.iter_lines!
  586. 0.8.4 (2011-12-11)
  587. ++++++++++++++++++
  588. * Prefetch bugfix.
  589. * Added license to installed version.
  590. 0.8.3 (2011-11-27)
  591. ++++++++++++++++++
  592. * Converted auth system to use simpler callable objects.
  593. * New session parameter to API methods.
  594. * Display full URL while logging.
  595. 0.8.2 (2011-11-19)
  596. ++++++++++++++++++
  597. * New Unicode decoding system, based on over-ridable `Response.encoding`.
  598. * Proper URL slash-quote handling.
  599. * Cookies with ``[``, ``]``, and ``_`` allowed.
  600. 0.8.1 (2011-11-15)
  601. ++++++++++++++++++
  602. * URL Request path fix
  603. * Proxy fix.
  604. * Timeouts fix.
  605. 0.8.0 (2011-11-13)
  606. ++++++++++++++++++
  607. * Keep-alive support!
  608. * Complete removal of Urllib2
  609. * Complete removal of Poster
  610. * Complete removal of CookieJars
  611. * New ConnectionError raising
  612. * Safe_mode for error catching
  613. * prefetch parameter for request methods
  614. * OPTION method
  615. * Async pool size throttling
  616. * File uploads send real names
  617. * Vendored in urllib3
  618. 0.7.6 (2011-11-07)
  619. ++++++++++++++++++
  620. * Digest authentication bugfix (attach query data to path)
  621. 0.7.5 (2011-11-04)
  622. ++++++++++++++++++
  623. * Response.content = None if there was an invalid repsonse.
  624. * Redirection auth handling.
  625. 0.7.4 (2011-10-26)
  626. ++++++++++++++++++
  627. * Session Hooks fix.
  628. 0.7.3 (2011-10-23)
  629. ++++++++++++++++++
  630. * Digest Auth fix.
  631. 0.7.2 (2011-10-23)
  632. ++++++++++++++++++
  633. * PATCH Fix.
  634. 0.7.1 (2011-10-23)
  635. ++++++++++++++++++
  636. * Move away from urllib2 authentication handling.
  637. * Fully Remove AuthManager, AuthObject, &c.
  638. * New tuple-based auth system with handler callbacks.
  639. 0.7.0 (2011-10-22)
  640. ++++++++++++++++++
  641. * Sessions are now the primary interface.
  642. * Deprecated InvalidMethodException.
  643. * PATCH fix.
  644. * New config system (no more global settings).
  645. 0.6.6 (2011-10-19)
  646. ++++++++++++++++++
  647. * Session parameter bugfix (params merging).
  648. 0.6.5 (2011-10-18)
  649. ++++++++++++++++++
  650. * Offline (fast) test suite.
  651. * Session dictionary argument merging.
  652. 0.6.4 (2011-10-13)
  653. ++++++++++++++++++
  654. * Automatic decoding of unicode, based on HTTP Headers.
  655. * New ``decode_unicode`` setting.
  656. * Removal of ``r.read/close`` methods.
  657. * New ``r.faw`` interface for advanced response usage.*
  658. * Automatic expansion of parameterized headers.
  659. 0.6.3 (2011-10-13)
  660. ++++++++++++++++++
  661. * Beautiful ``requests.async`` module, for making async requests w/ gevent.
  662. 0.6.2 (2011-10-09)
  663. ++++++++++++++++++
  664. * GET/HEAD obeys allow_redirects=False.
  665. 0.6.1 (2011-08-20)
  666. ++++++++++++++++++
  667. * Enhanced status codes experience ``\o/``
  668. * Set a maximum number of redirects (``settings.max_redirects``)
  669. * Full Unicode URL support
  670. * Support for protocol-less redirects.
  671. * Allow for arbitrary request types.
  672. * Bugfixes
  673. 0.6.0 (2011-08-17)
  674. ++++++++++++++++++
  675. * New callback hook system
  676. * New persistient sessions object and context manager
  677. * Transparent Dict-cookie handling
  678. * Status code reference object
  679. * Removed Response.cached
  680. * Added Response.request
  681. * All args are kwargs
  682. * Relative redirect support
  683. * HTTPError handling improvements
  684. * Improved https testing
  685. * Bugfixes
  686. 0.5.1 (2011-07-23)
  687. ++++++++++++++++++
  688. * International Domain Name Support!
  689. * Access headers without fetching entire body (``read()``)
  690. * Use lists as dicts for parameters
  691. * Add Forced Basic Authentication
  692. * Forced Basic is default authentication type
  693. * ``python-requests.org`` default User-Agent header
  694. * CaseInsensitiveDict lower-case caching
  695. * Response.history bugfix
  696. 0.5.0 (2011-06-21)
  697. ++++++++++++++++++
  698. * PATCH Support
  699. * Support for Proxies
  700. * HTTPBin Test Suite
  701. * Redirect Fixes
  702. * settings.verbose stream writing
  703. * Querystrings for all methods
  704. * URLErrors (Connection Refused, Timeout, Invalid URLs) are treated as explicity raised
  705. ``r.requests.get('hwe://blah'); r.raise_for_status()``
  706. 0.4.1 (2011-05-22)
  707. ++++++++++++++++++
  708. * Improved Redirection Handling
  709. * New 'allow_redirects' param for following non-GET/HEAD Redirects
  710. * Settings module refactoring
  711. 0.4.0 (2011-05-15)
  712. ++++++++++++++++++
  713. * Response.history: list of redirected responses
  714. * Case-Insensitive Header Dictionaries!
  715. * Unicode URLs
  716. 0.3.4 (2011-05-14)
  717. ++++++++++++++++++
  718. * Urllib2 HTTPAuthentication Recursion fix (Basic/Digest)
  719. * Internal Refactor
  720. * Bytes data upload Bugfix
  721. 0.3.3 (2011-05-12)
  722. ++++++++++++++++++
  723. * Request timeouts
  724. * Unicode url-encoded data
  725. * Settings context manager and module
  726. 0.3.2 (2011-04-15)
  727. ++++++++++++++++++
  728. * Automatic Decompression of GZip Encoded Content
  729. * AutoAuth Support for Tupled HTTP Auth
  730. 0.3.1 (2011-04-01)
  731. ++++++++++++++++++
  732. * Cookie Changes
  733. * Response.read()
  734. * Poster fix
  735. 0.3.0 (2011-02-25)
  736. ++++++++++++++++++
  737. * Automatic Authentication API Change
  738. * Smarter Query URL Parameterization
  739. * Allow file uploads and POST data together
  740. * New Authentication Manager System
  741. - Simpler Basic HTTP System
  742. - Supports all build-in urllib2 Auths
  743. - Allows for custom Auth Handlers
  744. 0.2.4 (2011-02-19)
  745. ++++++++++++++++++
  746. * Python 2.5 Support
  747. * PyPy-c v1.4 Support
  748. * Auto-Authentication tests
  749. * Improved Request object constructor
  750. 0.2.3 (2011-02-15)
  751. ++++++++++++++++++
  752. * New HTTPHandling Methods
  753. - Response.__nonzero__ (false if bad HTTP Status)
  754. - Response.ok (True if expected HTTP Status)
  755. - Response.error (Logged HTTPError if bad HTTP Status)
  756. - Response.raise_for_status() (Raises stored HTTPError)
  757. 0.2.2 (2011-02-14)
  758. ++++++++++++++++++
  759. * Still handles request in the event of an HTTPError. (Issue #2)
  760. * Eventlet and Gevent Monkeypatch support.
  761. * Cookie Support (Issue #1)
  762. 0.2.1 (2011-02-14)
  763. ++++++++++++++++++
  764. * Added file attribute to POST and PUT requests for multipart-encode file uploads.
  765. * Added Request.url attribute for context and redirects
  766. 0.2.0 (2011-02-14)
  767. ++++++++++++++++++
  768. * Birth!
  769. 0.0.1 (2011-02-13)
  770. ++++++++++++++++++
  771. * Frustration
  772. * Conception
  773. Platform: UNKNOWN
  774. Classifier: Development Status :: 5 - Production/Stable
  775. Classifier: Intended Audience :: Developers
  776. Classifier: Natural Language :: English
  777. Classifier: License :: OSI Approved :: Apache Software License
  778. Classifier: Programming Language :: Python
  779. Classifier: Programming Language :: Python :: 2.6
  780. Classifier: Programming Language :: Python :: 2.7
  781. Classifier: Programming Language :: Python :: 3
  782. Classifier: Programming Language :: Python :: 3.3
  783. Classifier: Programming Language :: Python :: 3.4