| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Clarify that PreparedRequests should not be manually created | Nick Krichevsky | 2020-06-18 | 1 | -1/+3 |
| | | | | | Closes #5504 | ||||
| * | Avoid an unnecessary computation of the length of data for non-stream ↵ | David Black | 2020-06-16 | 1 | -5/+5 |
| | | | | | requests (which determines content-length based upon body content). | ||||
| * | fix raise_for_status docstring (#5293) | Thomas Grainger | 2020-05-08 | 1 | -1/+1 |
| | | | | the exception isn't stored it's created new each call | ||||
| * | Revert "Fix for response with UTF-8 BOM #4976" | Nate Prewitt | 2020-02-18 | 1 | -3/+0 |
| | | | | | | | This reverts commit 19cff44ec1b8eeec99459b504a681aa440f6344c. This reverts commit 9e27326d6843e7c26e9847776159eeb68a999675. This reverts commit f507a3ef12ce6e100f68741f68d39bcaf8a70c7a. | ||||
| * | Revert "#4965 fix: Accessing response.content twice removes forgets read error." | Nate Prewitt | 2020-02-18 | 1 | -20/+3 |
| | | | | | | | This reverts commit bd100472443dcf4189630f6b1ed3ec0a61259dd8. This reverts commit d91fe00983f1c66b9a428fe1ad15bf6ea8238972. | ||||
| * | Merge pull request #5076 from myrheimb/patch-1 | Kenneth Reitz | 2019-08-20 | 1 | -1/+1 |
| |\ | | | | | Possible fix for #4945? | ||||
| | * | Possible fix for #4945? | Bjørnar Myrheim | 2019-04-30 | 1 | -1/+1 |
| | | | | | | | Could the missing colon on line 612 be the reason for the missing reference in the docs as described in issue #4945? | ||||
| * | | Merge branch 'master' into feature/strip-utf8-bom | Kenneth Reitz | 2019-08-20 | 1 | -5/+23 |
| |\ \ | |||||
| | * \ | Merge branch 'master' into master | Kenneth Reitz | 2019-08-20 | 1 | -5/+22 |
| | |\ \ | |||||
| | | * \ | Merge pull request #5087 from LuckyDenis/master | Kenneth Reitz | 2019-08-20 | 1 | -3/+20 |
| | | |\ \ | | | | | | | | | | | #4965 Fix | ||||
| | | | * | | #4965 fix: Accessing response.content twice removes forgets read error. | Белавин Денис | 2019-05-14 | 1 | -7/+16 |
| | | | | | | |||||
| | | | * | | #4965 fix-draw: Accessing response.content twice removes forgets read error. | Белавин Денис | 2019-05-13 | 1 | -0/+8 |
| | | | |/ | |||||
| | | * | | Updated references to previous requests/requests GitHub path | Nihaal | 2019-08-19 | 1 | -2/+2 |
| | | |/ | |||||
| | * | | [fix] fix failing doctests in requests/* | aless10 | 2019-02-17 | 1 | -0/+1 |
| | |/ | | | | | | | | | [add] add --doctest-modules in pytest.ini file as addopts [add] add myself to AUTHORS | ||||
| * | | fix response with utf8 bom | Eduardo Rodrigues | 2019-02-09 | 1 | -0/+3 |
| |/ | |||||
| * | Set iter_lines() decode_unicode default to False | Kyle Altendorf | 2018-11-06 | 1 | -1/+1 |
| | | | | The docs just read a bit strange with `decode_unicode=None` as opposed to `False`. | ||||
| * | Use comprehensions whenever possible | Hugo Osvaldo Barrera | 2018-10-16 | 1 | -4/+1 |
| | | |||||
| * | Prefer https:// for URLs throughout project | Jon Dufresne | 2018-09-30 | 1 | -2/+2 |
| | | |||||
| * | Document that 'params' can also be a list of tuples | Matthieu Moy | 2018-07-17 | 1 | -1/+3 |
| | | | | | | Like we just did for 'data', 'params' follows the same processing and can also be a list of tuples. | ||||
| * | Document that 'data' can be a list of tuples everywhere | Matthieu Moy | 2018-07-17 | 1 | -1/+3 |
| | | | | | | | | | | | | The documentation for the 'data' parameter of various functions was inconsistant. The low-level function, used by every convenience API, internally uses RequestEncodingMixin._encode_params which accepts list of tuples as well as dictionaries, hence every function taking a data parameter also accepts a list of tuple. Keep the documentation short, but provide a link to Request for details. | ||||
| * | Separate collections from collections.abc | Raymond Hettinger | 2018-06-11 | 1 | -4/+4 |
| | | |||||
| * | Response.content minor perf improvement | Ofek Lev | 2018-05-26 | 1 | -1/+1 |
| | | |||||
| * | The library raises NoneType error when file-pointer (fp) resolves to None. | Rajiv Mayani | 2018-05-17 | 1 | -1/+5 |
| | | | | | | | | | | | | | | >>> from requests import post >>> r = post("https://example.com", files={"file-name": None}) However, when a param value or json field is None they are not included in the request body. >>> from requests import get >>> r = get("https://example.com", params={"file-name": None}) >>> r.request.url This commit makes the beahviour consistent for files. | ||||
| * | Clarify that Response.ok will *only* return True/False | Alex Chan | 2017-11-20 | 1 | -2/+2 |
| | | |||||
| * | remove legacy super() call | Mark Szymanski | 2017-07-26 | 1 | -2/+0 |
| | | |||||
| * | Allow Requests.Response to be used as a context manager | Ed Morley | 2017-06-06 | 1 | -0/+6 |
| | | | | | | | | | | | | | | This saves having to wrap the call to requests with `contextlib.closing()`, allowing it to be used directly in a `with` statement, like so: ``` with requests.get('http://httpbin.org/get', stream=True) as r: # Do things with the response here. ``` Fixes #4136. | ||||
| * | cleanup models.py | Kenneth Reitz | 2017-05-29 | 1 | -4/+6 |
| | | |||||
| * | new requests namespace | Kenneth Reitz | 2017-05-29 | 1 | -2/+2 |
| | | |||||
| * | fix models.py | Kenneth Reitz | 2017-05-26 | 1 | -7/+1 |
| | | |||||
| * | fix models.py | Kenneth Reitz | 2017-05-26 | 1 | -5/+6 |
| | | |||||
| * | remove Request.send(session) | Kenneth Reitz | 2017-05-26 | 1 | -6/+2 |
| | | |||||
| * | who wrote this shit | Kenneth Reitz | 2017-05-26 | 1 | -2/+4 |
| | | |||||
| * | API improvements | Kenneth Reitz | 2017-05-26 | 1 | -0/+8 |
| | | |||||
| * | Remove some unused imports. | Chris Gavin | 2017-04-25 | 1 | -2/+2 |
| | | |||||
| * | Fixes DeprecationWarnings in Python 3.6 due to invalid escape sequences. ↵ | Ruben Dura Tari | 2017-04-05 | 1 | -1/+1 |
| | | | | | Fixes #3954 | ||||
| * | Update docstrings for Response.__{bool,nonzero}__ | Ian Cordasco | 2017-02-16 | 1 | -2/+14 |
| | | | | | | Like the docstring added to Response.ok these were misleading and vaguely incorrect. Better to be explicit than implicit. | ||||
| * | Correct docstring for Response.ok | Ian Cordasco | 2017-02-16 | 1 | -1/+7 |
| | | |||||
| * | added docstring for response.ok property | Mislav Cimperšak | 2017-02-16 | 1 | -0/+1 |
| | | |||||
| * | lazily load idna library | Moin | 2017-01-17 | 1 | -11/+27 |
| | | |||||
| * | Revert "Restrict URL preparation to HTTP/HTTPS" | Cory Benfield | 2016-11-30 | 1 | -3/+3 |
| | | | | | This reverts commit 34af72c87d79bd8852e8564c050dd7711c6a08d6. | ||||
| * | Merge pull request #3695 from nateprewitt/idna_bypass | Cory Benfield | 2016-11-25 | 1 | -3/+9 |
| |\ | | | | | idna bypass | ||||
| | * | modifying IDNA encoding check to allow fallback | Nate Prewitt | 2016-11-21 | 1 | -3/+9 |
| | | | |||||
| * | | Make Response.content return None if raw is None | Nicola Soranzo | 2016-11-24 | 1 | -1/+1 |
| | | | | | | | | | Add test. | ||||
| * | | Make Response.content() return None if status_code is None | Nicola Soranzo | 2016-11-23 | 1 | -1/+1 |
| | | | | | | | Fix #3698. | ||||
| * | | Restrict URL preparation to HTTP/HTTPS | Christian Heimes | 2016-11-21 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | Requests treats all URLs starting with the string 'http' as HTTP URLs. Preparation with IDNA breaks non-standard URIs like http+unix. Requests now prepares only URLs with prefix http:// and https://. Signed-off-by: Christian Heimes <christian@python.org> | ||||
| * | | Just lstrip instead of strip because trailing whitespace already works. | Hussain | 2016-11-16 | 1 | -2/+2 |
| | | | |||||
| * | | Fixed issue #3696. Added a test for it as well. | Hussain | 2016-11-16 | 1 | -0/+3 |
| |/ | |||||
| * | Document that Response.json() may raise ValueError | Chris Martin | 2016-11-10 | 1 | -0/+1 |
| | | |||||
| * | adding rewind for re-POST bodies | Nate Prewitt | 2016-11-02 | 1 | -0/+14 |
| | | |||||
| * | requests.post checked data parameters for type like dict. | Philipp Konrad | 2016-10-27 | 1 | -1/+1 |
| | | | | | Changed the type check to Mapping. | ||||
