| 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 | ||||
| * | 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. | ||||
| * | | Updated references to previous requests/requests GitHub path | Nihaal | 2019-08-19 | 1 | -2/+2 |
| | | | |||||
| * | | 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 | 1 | -5/+5 |
| | | |||||
| * | Use comprehensions whenever possible | Hugo Osvaldo Barrera | 2018-10-16 | 1 | -1/+1 |
| | | |||||
| * | 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. | ||||
| * | 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 | 1 | -0/+8 |
| |\ | |||||
| | * | append previous url fragment on redirect | Nate Prewitt | 2018-01-21 | 1 | -0/+8 |
| | | | |||||
| * | | 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 | ||||
| * | 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> | ||||
| * | Modifying tests to include header name info | mgasvoda | 2017-08-11 | 1 | -3/+6 |
| | | |||||
| * | Add failing test for #4209 | Cory Benfield | 2017-07-29 | 1 | -1/+10 |
| | | |||||
| * | Fix a typo: paramters -> parameters | Felix Yan | 2017-06-12 | 1 | -1/+1 |
| | | |||||
| * | Remove exec permission from files that shouldn't have it | Justin Mayhew | 2017-06-10 | 1 | -1/+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. | ||||
| * | new requests namespace | Kenneth Reitz | 2017-05-29 | 1 | -2/+2 |
| | | |||||
| * | fix tests | Kenneth Reitz | 2017-05-27 | 1 | -3/+3 |
| | | |||||
| * | test entrypoints | Kenneth Reitz | 2017-05-27 | 1 | -0/+2 |
| | | |||||
| * | remove bunk tests | Kenneth Reitz | 2017-05-26 | 1 | -10/+1 |
| | | |||||
| * | remove test imports from packages | Kenneth Reitz | 2017-05-26 | 1 | -1/+1 |
| | | |||||
| * | Fix #4025 | Jonas Laursen | 2017-05-18 | 1 | -0/+4 |
| | | |||||
| * | We no longer downcase some hosts. | Cory Benfield | 2017-05-09 | 1 | -6/+6 |
| | | |||||
| * | oops! import Timeout as Urllib3Timeout | Alexander 'Leo' Bergolth | 2017-04-03 | 1 | -5/+5 |
| | | |||||
| * | use @pytest.mark.parametrize | Alexander 'Leo' Bergolth | 2017-04-03 | 1 | -50/+29 |
| | | |||||
| * | add some tests for passing in Timeout objects | Alexander 'Leo' Bergolth | 2017-04-02 | 1 | -0/+42 |
| | | |||||
| * | PR review fixes: | Bastien Gérard | 2017-03-22 | 1 | -8/+8 |
| | | | | | | | - used httpbin_secure for tests - updated docstring related to `verify` param" - used TLS acronym instead of SSL | ||||
| * | #3926 raise IOError when providing an invalid path to a CA bundle or ↵ | Bastien Gérard | 2017-03-22 | 1 | -0/+16 |
| | | | | | certificate files | ||||
| * | Fixed some typos (#3892) | Victor Pfautz | 2017-02-27 | 1 | -1/+1 |
| | | | | | * Fixed some typos | ||||
| * | properly handled failed seek | Nate Prewitt | 2017-02-14 | 1 | -1/+1 |
| | | |||||
| * | * initial attempt at `get_redirect_target` | jonathan vanasco | 2017-02-10 | 1 | -0/+43 |
| | | | | | * removing the `i` from the redirect detection while-loop | ||||
| * | fix broken tests | Kenneth Reitz | 2017-01-21 | 1 | -3/+3 |
| | | |||||
| * | Remove unused module | winterJ | 2017-01-11 | 1 | -2/+1 |
| | | |||||
| * | Add deprecation warnings for 3.0 | Ian Cordasco | 2016-12-09 | 1 | -1/+2 |
| | | | | | Add extra test parameter for basic auth encoding | ||||
