PKG-INFO 36 KB

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