| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | update json param's description to avoid confusion | Elias Obeid | 2018-04-30 | 1 | -1/+1 |
| | | | | - the Request class doesn't accept JSON, but a JSON serializable object | ||||
| * | typo | JiuLi Gao | 2017-06-09 | 1 | -1/+1 |
| | | |||||
| * | fix spaces in api.py | Kenneth Reitz | 2017-05-29 | 1 | -1/+1 |
| | | |||||
| * | Specify that the timeout parameter is in seconds. | Randy Barlow | 2017-05-06 | 1 | -1/+1 |
| | | | | | Signed-off-by: Randy Barlow <randy@electronsweatshop.com> | ||||
| * | Fixes DeprecationWarnings in Python 3.6 due to invalid escape sequences. ↵ | Ruben Dura Tari | 2017-04-05 | 1 | -7/+7 |
| | | | | | Fixes #3954 | ||||
| * | PR review fixes: | Bastien Gérard | 2017-03-22 | 1 | -1/+3 |
| | | | | | | | - used httpbin_secure for tests - updated docstring related to `verify` param" - used TLS acronym instead of SSL | ||||
| * | Removed sentence as suggested. | Marcos Dione | 2017-03-07 | 1 | -1/+1 |
| | | | | Fair enough... | ||||
| * | Add mention to list od tuples as data param. | Marcos Dione | 2017-03-07 | 1 | -1/+1 |
| | | | | `requests.request` accepts list of tuples in the `data` param, but thereś no mention of it in the docs. | ||||
| * | fixed #3894 by mentioning form-encoding of dict | Lutz Horn | 2017-03-01 | 1 | -4/+4 |
| | | | | The optional `data` parameter will be form-encoded, if a dictionary is provided. | ||||
| * | Add default value of allow_redirects to docs | Peter Inglesby | 2017-01-12 | 1 | -1/+1 |
| | | |||||
| * | Clarify allow_redirects | Barbara Miller | 2016-11-15 | 1 | -1/+1 |
| | | | | Make consistent with quickstart doc. | ||||
| * | documentation line added for consistency with the post method | hootnot | 2016-11-03 | 1 | -0/+2 |
| | | |||||
| * | making module docstrings and coding comments consistent | Nate Prewitt | 2016-07-19 | 1 | -1/+0 |
| | | |||||
| * | Update docstring and API doc to document ability to add per-file headers in ↵ | Alexander Hermes | 2016-03-29 | 1 | -1/+5 |
| | | | | | | | multipart POST * Docstring only change - for the function itself cf. requests Issue #1640 | ||||
| * | Refactor default params | Brian Samek | 2015-12-11 | 1 | -1/+1 |
| | | | | | | | Specified the default argument for params that have a default in the docstring so that the default is easier to see from the code. Modified the docstring in api.py to match the docstring in sessions.py. | ||||
| * | Assure session is closed on exception. | Artur Siekielski | 2015-11-06 | 1 | -7/+5 |
| | | |||||
| * | Docs: Fix links to `timeouts` section by using :ref: instead of | Lukas Graf | 2015-08-15 | 1 | -2/+2 |
| | | | | | linking to .html files. | ||||
| * | Make docstring of api.get more clear | Matt Havard | 2015-04-30 | 1 | -2/+3 |
| | | |||||
| * | Add return type field to entry-point docstrings | Ulrich Petri | 2015-03-14 | 1 | -8/+23 |
| | | | | Fixes: #2483 | ||||
| * | Close sessions created in the functional API | Ian Cordasco | 2014-11-07 | 1 | -1/+6 |
| | | | | | | | | | This is related to #1882 and #1685. By calling close on the session, we clear the PoolManager operated by the Session and close all sockets. Fixes #1882 Partially-fixes #1685 | ||||
| * | Merge pull request #2258 from willingc/add-json | Kenneth Reitz | 2014-10-05 | 1 | -2/+4 |
| |\ | | | | | Add json parameter | ||||
| | * | Adds json parameter for POST requests | Carol Willing | 2014-08-28 | 1 | -2/+4 |
| | | | |||||
| * | | Document Timeout behaviour | Kevin Burke | 2014-08-29 | 1 | -2/+6 |
| |/ | |||||
| * | The timeout is in seconds. | Cory Benfield | 2014-02-16 | 1 | -1/+1 |
| | | |||||
| * | Revert "[kennethreitz/requests#1208] adding a max_retries argument" | Kenneth Reitz | 2013-03-03 | 1 | -1/+0 |
| | | | | | This reverts commit 796d3225ddf08a9ebaa429209b9d077c3a8f99b8. | ||||
| * | [kennethreitz/requests#1208] adding a max_retries argument | Wilfred Hughes | 2013-02-27 | 1 | -0/+1 |
| | | |||||
| * | Missing line was allowing redirects with HEAD | Ian Cordasco | 2013-02-20 | 1 | -0/+1 |
| | | | | | Closes #1203 | ||||
| * | api docs | Kenneth Reitz | 2012-12-23 | 1 | -0/+6 |
| | | |||||
| * | Tweaked the 'data' param docs to indicate that a file-like object is also ↵ | Hans Lellelid | 2012-12-20 | 1 | -4/+4 |
| | | | | | supported. | ||||
| * | /s/prefetch/stream | Kenneth Reitz | 2012-12-17 | 1 | -1/+1 |
| | | |||||
| * | nice and cleanup | Kenneth Reitz | 2012-12-17 | 1 | -1/+0 |
| | | |||||
| * | further remove config | Kenneth Reitz | 2012-12-17 | 1 | -13/+1 |
| | | |||||
| * | json errors | Kenneth Reitz | 2012-12-16 | 1 | -0/+1 |
| | | |||||
| * | WHOOOOOOOOOOOOOOOO | Kenneth Reitz | 2012-12-15 | 1 | -5/+2 |
| | | |||||
| * | Updates from ISC to Apache2 | Lyndsy Simon | 2012-12-05 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #983 from jszakmeister/allow-strict | Kenneth Reitz | 2012-12-02 | 1 | -1/+1 |
| |\ | | | | | Add the ability to turn off HTTP 0.9 support. | ||||
| | * | Add the ability to turn off HTTP 0.9 support. | John Szakmeister | 2012-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While debugging an issue I discovered requests was coming back with 200 response, when it really shouldn't have. It turns out this happened for two reasons: the jetty server running the app was rather lame and didn't fail the request as a Bad Request, and httplib was happy to let malformed data through and call it success. It turns out httplib's strict flag controls this behavior of whether or not to validate the status line. The underlying urllib3 supports the concept as well. There was a bug there to that is now fixed upstream. The last step is exposing this through requests. This introduces a supports_http0.9 flag to help control this behavior. It defaults to to True to preserve the current behavior. Setting it to False will allow the underlying HTTPConnection to validate the status line. | ||||
| * | | Fixed so that safe_mode works for Sessions | Jonatan Heyman | 2012-11-23 | 1 | -2/+0 |
| |/ | |||||
| * | Whitespace fixes following PEP8. | Locker537 | 2012-08-16 | 1 | -0/+2 |
| | | |||||
| * | address connection leak issue from #520 | Shivaram Lingamneni | 2012-08-05 | 1 | -4/+13 |
| | | | | | | | | | | | | | | * prefetch now defaults to True, ensuring that by default, sockets are returned to the urllib3 connection pool on request end * sessions now have a close() method, notifying urllib3 to close pooled connections * the module-level API, e.g., `requests.get('http://www.google.com')`, explicitly closes its session when finished When prefetch is False, the open socket becomes part of the state of the Response object, and it's the client's responsibility to read the whole body, at which point the socket will be returned to the pool. | ||||
| * | Issue #505: Changed the store_cookie configuration to be part of the config ↵ | Arup Malakar | 2012-05-23 | 1 | -2/+1 |
| | | | | | dict, instead of being a new argument | ||||
| * | authors | Kenneth Reitz | 2012-05-16 | 1 | -0/+1 |
| |\ | |||||
| | * | Issue #505: Allow disabling of cookie persistence/sending | Arup Malakar | 2012-05-16 | 1 | -0/+1 |
| | | | |||||
| * | | New implementation of safe_mode. Now, we throw exceptions in models.py ↵ | Josh Imhoff | 2012-05-09 | 1 | -0/+2 |
| |/ | | | | regardless of safe_mode. We catch those exceptions at the API level and return a blank Response. See safe_mode.py for details. | ||||
| * | Sphinx throws an error if you don't escape ** in **kwargs | Ian Danforth | 2012-03-18 | 1 | -7/+7 |
| | | |||||
| * | Updated Requests api to accept a 'cert' argument. | chadnickbok@gmail.com | 2012-03-14 | 1 | -2/+1 |
| | | | | | | | | | This argument can be either a string, containing the path to a pem-formatted key and certificate chain, or a tuple of (cert, key). When supplied a tuple, the values are paths to an SSL certificate chain file and key, respectively. | ||||
| * | Exposed key_file and cert_file in requests, to support https client ↵ | chadnickbok@gmail.com | 2012-03-14 | 1 | -0/+2 |
| | | | | | certificates. | ||||
| * | history for HEAD 3xxv0.10.3 | Kenneth Reitz | 2012-02-20 | 1 | -1/+1 |
| | | |||||
| * | Added prefetch documentation for api | Frank Kumro | 2012-01-12 | 1 | -0/+1 |
| | | |||||
| * | The `request` method of `Session` class does not take a `session` argument. ↵ | Shrikant Sharat Kandula | 2012-01-09 | 1 | -1/+1 |
| | | | | | But `api.request` does. So, it has to be popped before you can send the whole `kwargs` dict to `Session.request` method. | ||||
