| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove Pipfile/Pipfile.lock | Nate Prewitt | 2020-11-11 | 1 | -3/+3 |
| | | |||||
| * | Fix test_conflicting_post_params to work on pytest 5 (#5305) | Miro Hrončok | 2020-05-08 | 1 | -2/+4 |
| | | | | | | | | | | The non-contextmanager form of pytest.raises was removed in pytest 5. http://doc.pytest.org/en/latest/deprecations.html#raises-warns-with-a-string-as-the-second-argument It was used here to support Python < 2.7, but that is no longer needed. https://github.com/psf/requests/pull/1503#issuecomment-22333666 Fixes https://github.com/psf/requests/issues/5304 | ||||
| * | Revert "Fix for response with UTF-8 BOM #4976" | Nate Prewitt | 2020-02-18 | 2 | -31/+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 | -41/+0 |
| | | | | | | | This reverts commit bd100472443dcf4189630f6b1ed3ec0a61259dd8. This reverts commit d91fe00983f1c66b9a428fe1ad15bf6ea8238972. | ||||
| * | Add PyPy3 to Travis test suite (#5193) | johnthagen | 2020-01-21 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'master' into feature/strip-utf8-bom | Kenneth Reitz | 2019-08-20 | 3 | -10/+52 |
| |\ | |||||
| | * | Merge pull request #4922 from jdufresne/ordered | Kenneth Reitz | 2019-08-20 | 1 | -4/+4 |
| | |\ | | | | | | | Remove unnecessary compat shim for OrderedDict | ||||
| | | * | Remove internal use of unnecessary compat shim for OrderedDict | Jon Dufresne | 2018-12-29 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The shim is the same on both Python 2 & 3. It is always collections.OrderedDict. Avoid the indirection and import from Python stdlib instead. Keep requests.compat.OrderedDict for backwards compatibility. Some packages import this. | ||||
| | * | | Merge pull request #5087 from LuckyDenis/master | Kenneth Reitz | 2019-08-20 | 1 | -0/+41 |
| | |\ \ | | | | | | | | | #4965 Fix | ||||
| | | * | | #4965 fix: Accessing response.content twice removes forgets read error. | Белавин Денис | 2019-05-14 | 1 | -0/+41 |
| | | | | | |||||
| | * | | | Merge pull request #5049 from hroncok/pytest4 | Kenneth Reitz | 2019-08-20 | 1 | -1/+2 |
| | |\ \ \ | | | | | | | | | | | Support pytest 4 | ||||
| | | * | | | Support pytest 4 | Miro Hrončok | 2019-05-24 | 1 | -1/+2 |
| | | |/ / | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/kennethreitz/requests/issues/5048 See https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize | ||||
| | * | | | Updated references to previous requests/requests GitHub path | Nihaal | 2019-08-19 | 3 | -5/+5 |
| | |/ / | |||||
| * | | | add failing tests for bom | Eduardo Rodrigues | 2019-02-09 | 2 | -1/+31 |
| | | | | |||||
| * | | | add utf8 with bom to test | Eduardo Rodrigues | 2019-02-09 | 1 | -0/+1 |
| |/ / | |||||
| * | | Normalize percent-encoded bytes before comparison | Seth M. Larson | 2018-12-23 | 1 | -1/+10 |
| |/ | |||||
| * | proper handling for default ports in auth strippingdefault_port_handling | Nate Prewitt | 2018-10-28 | 1 | -0/+11 |
| | | |||||
| * | remove final remnants from 2.6 | Nate Prewitt | 2018-10-17 | 4 | -31/+22 |
| | | |||||
| * | Use comprehensions whenever possible | Hugo Osvaldo Barrera | 2018-10-16 | 2 | -2/+2 |
| | | |||||
| * | wrap url parsing exceptions from urllib3's PoolManager | Nate Prewitt | 2018-09-30 | 1 | -0/+10 |
| | | |||||
| * | Rework authorization stripping logic as discussed | Bruce Merry | 2018-09-14 | 1 | -11/+22 |
| | | | | | | The exception for http->https upgrade now requires the standard HTTP(S) ports to be used, either implicitly (no port specified) or explicitly. | ||||
| * | Strip Authorization header whenever root URL changes | Bruce Merry | 2018-09-14 | 1 | -1/+11 |
| | | | | | | | | | Previously the header was stripped only if the hostname changed, but in an https -> http redirect that can leak the credentials on the wire (#4716). Based on with RFC 7235 section 2.2, the header is now stripped if the "canonical root URL" (scheme+authority) has changed, by checking scheme, hostname and port. | ||||
| * | Fix a typo in a test docstring | Alex Chan | 2018-09-13 | 1 | -1/+1 |
| | | |||||
| * | Fix assumed hostname when using a 'file' URI scheme adapter | Kale Franz | 2018-08-13 | 1 | -0/+1 |
| | | |||||
| * | make content-type's charset information case-insensitive | Lucy Linder | 2018-07-24 | 1 | -0/+4 |
| | | | | | see issue https://github.com/requests/requests/issues/4748 for more information | ||||
| * | Add test for multivalued form-encoded element as a list (#4700) | Antti Kaihola | 2018-07-20 | 1 | -0/+6 |
| | | |||||
| * | Remove unused httpbin parameters | Steven M. Vascellaro | 2018-07-17 | 1 | -5/+5 |
| | | | | | | httpbin is used to mock HTTP endpoints. In these methods, the parameter goes unused. | ||||
| * | Remove unused session variables | Steven M. Vascellaro | 2018-06-26 | 1 | -6/+0 |
| | | | | | Removed local session variables that go unused during testing. | ||||
| * | Separate collections from collections.abc | Raymond Hettinger | 2018-06-11 | 1 | -1/+2 |
| | | |||||
| * | Add a public method to get the cookie policy | Laurent Bachelier | 2018-06-11 | 1 | -1/+1 |
| | | |||||
| * | Add cookie policy related tests | Laurent Bachelier | 2018-06-11 | 1 | -0/+8 |
| | | |||||
| * | The library raises NoneType error when file-pointer (fp) resolves to None. | Rajiv Mayani | 2018-05-17 | 1 | -0/+8 |
| | | | | | | | | | | | | | | >>> 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. | ||||
| * | Merge branch 'master' into master | David Poole | 2018-03-05 | 3 | -3/+143 |
| |\ | |||||
| | * | append previous url fragment on redirect | Nate Prewitt | 2018-01-21 | 2 | -0/+80 |
| | | | |||||
| | * | Fix DNS resolution by using hostname instead of netloc and strip username ↵ | Darren Dormer | 2018-01-16 | 1 | -2/+23 |
| | | | | | | | | | and password when comparing against proxy bypass items. | ||||
| | * | added more to test scenarios | dbairaktaris1 | 2018-01-04 | 1 | -1/+9 |
| | | | |||||
| | * | Continue to refactor, remove list comprehension, add double quotes test case. | dbairaktaris1 | 2018-01-04 | 1 | -4/+8 |
| | | | |||||
| | * | implement changes after code review | dbairaktaris1 | 2018-01-03 | 1 | -8/+0 |
| | | | |||||
| | * | Move nested function up to module level and rename. Add more tests for ↵ | dbairaktaris1 | 2018-01-01 | 1 | -1/+36 |
| | | | | | | | | | function. | ||||
| * | | Merge branch 'master' into master | David Poole | 2017-11-29 | 1 | -1/+6 |
| |\ \ | |/ | |||||
| | * | #4373, fix possible winreg value type difference (#4377) | Mingyuan Xia | 2017-11-20 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | | | | | | * #4373, fix possible winreg value type difference * add a test for ProxyOverride and ProxyEnable on win32 * add tests for winreg key ProxyEnable with two possible types * fixing AppVeyor failures | ||||
| * | | add test for HTTP Digest auth algorithms SHA-256 and SHA-512 | David Poole | 2017-11-29 | 1 | -41/+52 |
| |/ | |||||
| * | Check if host is invalid for proxy | Nehal J Wani | 2017-11-15 | 1 | -1/+14 |
| | | | | | | | | | According to RFC3986, the authority section can be empty for a given URL, however, for a proxy URL, it shouldn't be. This patch adds a check to verify that the parsed URL will have a valid host before creating the proxy manager. Fixes #4353 | ||||
| * | support extraction of certificate bundle from a zip archive | Arthur Vigil | 2017-11-05 | 1 | -1/+29 |
| | | |||||
| * | Split test in two better-defined tests | Alvaro Gutierrez Perez | 2017-10-19 | 1 | -2/+10 |
| | | |||||
| * | Add test for Session.get_adapter() prefix matching | Alvaro Gutierrez Perez | 2017-10-19 | 1 | -0/+18 |
| | | |||||
| * | Add test for Session.get_adapter() case-insensitivity | Alvaro Gutierrez Perez | 2017-10-19 | 1 | -0/+12 |
| | | |||||
| * | update tests | Kenneth Reitz | 2017-09-17 | 1 | -3/+3 |
| | | | | | Signed-off-by: Kenneth Reitz <me@kennethreitz.org> | ||||
| * | Add test case for empty `Link:` header | Remi Rampin | 2017-08-17 | 1 | -0/+4 |
| | | |||||
| * | Modifying tests to include header name info | mgasvoda | 2017-08-11 | 1 | -3/+6 |
| | | |||||
