| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | Merge branch 'master' into master | Ian Stapleton Cordasco | 2018-05-16 | 2 | -1/+3 |
| |\ | |||||
| | * | Add a comment about lowercase env. variables precedence over uppercase | Julien Prigent | 2018-05-13 | 1 | -0/+2 |
| | | | |||||
| | * | 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 | ||||
| * | | Merge branch 'master' into master | David Poole | 2018-03-05 | 4 | -14/+46 |
| |\ \ | |/ | |||||
| | * | Remove remaining references to removed, vendored packages (#4499) | Jon Dufresne | 2018-02-17 | 1 | -1/+1 |
| | | | | | | | | | As the vendored packages were removing in version 2.16, all remaining doc references should be replaced with newer practices. | ||||
| | * | Fix typos | Semen Zhydenko | 2018-02-07 | 1 | -1/+1 |
| | | | | | | | | | | | nonexistant -> nonexistent neccessary -> necessary | ||||
| | * | pass kwargs from send call to add_headers, per documentation | Jonathan Elliott Blum | 2018-02-02 | 1 | -1/+1 |
| | | | |||||
| | * | append previous url fragment on redirect | Nate Prewitt | 2018-01-21 | 1 | -1/+6 |
| | | | |||||
| | * | Fix DNS resolution by using hostname instead of netloc and strip username ↵ | Darren Dormer | 2018-01-16 | 1 | -8/+11 |
| | | | | | | | | | and password when comparing against proxy bypass items. | ||||
| | * | slice function removed | dbairaktaris1 | 2018-01-04 | 1 | -4/+2 |
| | | | |||||
| | * | Continue to refactor, remove list comprehension, add double quotes test case. | dbairaktaris1 | 2018-01-04 | 1 | -6/+10 |
| | | | |||||
| | * | implement changes after code review | dbairaktaris1 | 2018-01-03 | 1 | -1/+1 |
| | | | |||||
| | * | implement changes after code review | dbairaktaris1 | 2018-01-03 | 1 | -14/+7 |
| | | | |||||
| | * | Move nested function up to module level and rename. Add more tests for ↵ | dbairaktaris1 | 2018-01-01 | 1 | -15/+31 |
| | | | | | | | | | function. | ||||
| | * | clean | dbairaktaris1 | 2017-12-31 | 1 | -2/+1 |
| | | | |||||
| | * | Reduce overall memory usage of Requests module by removing cgi module ↵ | dbairaktaris1 | 2017-12-31 | 1 | -2/+16 |
| | | | | | | | | | dependency in utils.py. Instead wrote a nested function to parse header and return content type and params. | ||||
| * | | Merge branch 'master' into master | David Poole | 2017-11-29 | 3 | -13/+47 |
| |\ \ | |/ | |||||
| | * | utils: winreg module may not exist like on windows universal platform. | Anton Fedchin | 2017-11-25 | 1 | -4/+8 |
| | | | |||||
| | * | Add documentation for available status codes | Zane Bitter | 2017-11-21 | 1 | -5/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was no way to determine what actual names were available outside of looking at the source code. They were not listed in the documentation or accessible through the interactive help. In addition, doing `pydoc requests.status_codes` displayed some pretty unhelpful information - the utf-8 encoding string was included in the module name, there was no description, and internal variables used for initialisation leaked into the module scope: DATA code = 511 codes = <lookup 'status_codes'> title = 'network_authentication' titles = ('network_authentication_required', 'network_auth', ... This change prevents the internal variables from leaking, adds a docstring (which has the side-effect of correcting the module name), and appends information on the allowed status code names to the docstring when the module is initialised. The improved module documentation is then used in the API documentation to provide another easy reference to the complete list of status codes. | ||||
| | * | #4373, fix possible winreg value type difference (#4377) | Mingyuan Xia | 2017-11-20 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | * #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 | ||||
| | * | Clarify that Response.ok will *only* return True/False | Alex Chan | 2017-11-20 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'master' into master | David Poole | 2017-11-19 | 2 | -1/+10 |
| |\ \ | |/ | |||||
| | * | Check if host is invalid for proxy | Nehal J Wani | 2017-11-15 | 2 | -1/+10 |
| | | | | | | | | | | | | | | | | | 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 | ||||
| * | | for RFC-7616 add SHA-256 and SHA-512 | David Poole | 2017-11-08 | 1 | -0/+12 |
| |/ | |||||
| * | support extraction of certificate bundle from a zip archive | Arthur Vigil | 2017-11-05 | 2 | -4/+38 |
| | | |||||
| * | Merge branch 'master' into patch-1 | Alvaro Gutierrez Perez | 2017-10-21 | 2 | -4/+4 |
| |\ | |||||
| | * | avoid import platform | INADA Naoki | 2017-10-20 | 2 | -4/+4 |
| | | | | | | | | | platform module is relatively large: it takes about 5ms to import | ||||
| * | | Fix case-insensitive comparison in get_adapter() | Alvaro Gutierrez Perez | 2017-10-18 | 1 | -1/+1 |
| |/ | | | While trying to get the prefix for an url, the url was lowered before comparing but the prefix not, so if it contains non-lowercase characters (eg. https://api.example.com/sOmE_WeiRD_pReFIX/), it won't match. | ||||
| * | Python 3.3 has already been dropped (#4231) | Hugo | 2017-10-15 | 1 | -1/+1 |
| | | |||||
| * | Warn user about possible slowdown when using cryptography version < | Taylor Rose | 2017-10-14 | 1 | -0/+15 |
| | | | | | 1.3.4 | ||||
| * | Fix parse_header_links on empty header | Remi Rampin | 2017-08-16 | 1 | -1/+5 |
| | | |||||
| * | v2.18.4v2.18.4 | Cory Benfield | 2017-08-15 | 1 | -2/+2 |
| | | |||||
| * | Adding space after colon | mgasvoda | 2017-08-11 | 1 | -1/+1 |
| | | |||||
| * | Removing trailing whitespace | mgasvoda | 2017-08-11 | 1 | -1/+1 |
| | | |||||
| * | Improving message formatting | mgasvoda | 2017-08-11 | 1 | -2/+2 |
| | | |||||
| * | Adding header name to exception | mgasvoda | 2017-08-11 | 1 | -2/+2 |
| | | | | Adds the name of the header to the invalid header exception raised on TypeError. | ||||
| * | v2.18.3v2.18.3 | Cory Benfield | 2017-08-02 | 1 | -2/+2 |
| | | |||||
| * | Correctly raise SSLError from urllib3. | Cory Benfield | 2017-07-29 | 1 | -0/+5 |
| | | |||||
| * | Add idna version info to requests.help | Alex Chan | 2017-07-27 | 1 | -0/+5 |
| | | |||||
| * | Merge branch 'master' into patch-2 | Alex Gaynor | 2017-07-27 | 5 | -9/+17 |
| |\ | |||||
| | * | remove legacy super() call | Mark Szymanski | 2017-07-26 | 1 | -2/+0 |
| | | | |||||
| | * | some docs on request redirect detection | jonathan vanasco | 2017-07-26 | 1 | -0/+6 |
| | | | |||||
| | * | Correct urllib3 compatibility comment | Bruno Alla | 2017-07-26 | 1 | -1/+1 |
| | | | | | | | | | So that it's in line with the code. I saw the warning raised recently and had to dive into the code for exact compatibility, but I stopped after reading the comment rather than the code. Maybe a better solution would be to surface the supported versions in the warning, but I see it was changed recently in https://github.com/requests/requests/pull/4144/ | ||||
| | * | v2.18.2v2.18.2 | Cory Benfield | 2017-07-25 | 1 | -2/+2 |
| | | | |||||
| | * | Use 'prefix' instead of 'key' in session docstring | Alex Muller | 2017-07-20 | 1 | -1/+1 |
| | | | | | | | | | | | This commit makes the API docs more clear. The 'key' is an implementation detail. | ||||
| | * | fix OPENSSL_VERSION_NUMBER check on Python2.6's ssl module | Nate Prewitt | 2017-07-03 | 1 | -3/+7 |
| | | | |||||
| * | | Removed legacy fallback for python3.2 | Alex Gaynor | 2017-06-25 | 1 | -3/+1 |
| |/ | |||||
| * | v2.18.1v2.18.1 | Cory Benfield | 2017-06-14 | 1 | -2/+2 |
| | | |||||
| * | Prepare v2.18.0v2.18.0 | Cory Benfield | 2017-06-14 | 1 | -2/+2 |
| | | |||||
