Jon Dufresne
9c0db92249
Clarify docs that Requests always uses certs from certifi
...
Since commit 0d7de6430e , certifi is always
used for certificates. Certify became a hard dependency of the package
in 628633143d .
Now update the docs to clarify that Request will always use certificates
from certifi.
2018-02-14 05:47:34 -08:00
kennethreitz
3c1d36b827
Merge branch 'master' of github.com:requests/requests
...
# Conflicts:
# docs/_templates/sidebarintro.html
# docs/_templates/sidebarlogo.html
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-02-12 09:43:07 -05:00
kennethreitz
3cd87fac5d
new sidebar link
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-02-12 09:42:09 -05:00
Semen Zhydenko
22120d423e
Fix typos
...
nonexistant -> nonexistent
neccessary -> necessary
2018-02-07 18:25:22 -06:00
Nate Prewitt
654da610e1
Merge pull request #4498 from jdufresne/ws
...
Trim trialing white space throughout the project
2018-02-05 08:37:19 -08:00
Jon Dufresne
e8205c0131
Trim trialing white space throughout the project
...
Many editors clean up trailing white space on save. By removing it all
in one go, it helps keep future diffs cleaner by avoiding spurious white
space changes on unrelated lines.
2018-02-05 06:23:53 -08:00
Ian Stapleton Cordasco
8da118dfeb
Merge pull request #4493 from nateprewitt/3.7_testing
...
Start testing 3.7
2018-02-03 08:43:31 -06:00
Ian Stapleton Cordasco
d69c068ac2
Merge branch 'master' into 3.7_testing
2018-02-03 08:33:55 -06:00
Ian Stapleton Cordasco
3ad14bb54e
Merge pull request #4496 from lolatravel/pass_send_kwargs_to_add_headers
...
Pass kwargs from adapter send call to add_headers, per documentation
2018-02-03 07:40:44 -06:00
Jonathan Elliott Blum
8e040523a4
pass kwargs from send call to add_headers, per documentation
2018-02-02 13:10:16 -05:00
Nate Prewitt
99533b0f0f
start testing 3.7
2018-01-26 03:01:22 -08:00
Nate Prewitt
512066488e
updating history
2018-01-21 11:06:33 -08:00
Nate Prewitt
d2e1130603
Merge pull request #4452 from nateprewitt/append_fragment_on_redirect
...
append previous url fragment on redirect
2018-01-21 10:41:46 -08:00
Nate Prewitt
f60324a3de
append previous url fragment on redirect
2018-01-21 09:55:45 -08:00
Ian Stapleton Cordasco
f89c325fbe
Merge pull request #4439 from nkonin/fix/certifi-broken-link
...
Fix broken link to Certifi
2018-01-21 08:36:31 -06:00
Ian Stapleton Cordasco
d55b81b964
Merge branch 'master' into fix/certifi-broken-link
2018-01-21 08:12:19 -06:00
kennethreitz
6a74c70a3a
merge
2018-01-20 09:02:15 -05:00
kennethreitz
599a8f11f8
sidebar
2018-01-20 09:01:50 -05:00
Никита Конин
0813c865ee
Fix broken link to Certifi
2018-01-18 20:14:33 +03:00
Ian Stapleton Cordasco
07372dc058
Merge pull request #4427 from ddormer/4275-use-hostname-not-netloc
...
Use hostname not netloc
2018-01-16 08:07:26 -06:00
Darren Dormer
2255c34a65
Fix DNS resolution by using hostname instead of netloc and strip username and password when comparing against proxy bypass items.
2018-01-16 10:18:06 +01:00
Nate Prewitt
020f96577f
Merge pull request #4459 from jdufresne/pyreq
...
Pass python_requires argument to setuptools
2018-01-12 20:06:59 -08:00
Jon Dufresne
7cefa939f5
Pass python_requires argument to setuptools
...
Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.
https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-01-12 16:39:10 -08:00
Ian Stapleton Cordasco
b9d8e00cbc
Merge pull request #4460 from jdufresne/py33
...
Remove unsupported Python 3.3 from tox.ini
2018-01-11 08:41:08 -06:00
Jon Dufresne
620a5391c3
Remove unsupported Python 3.3 from tox.ini
...
Python 3.3 is not a supported version so don't test it.
2018-01-10 18:37:22 -08:00
Nate Prewitt
c98e30b5cb
Merge pull request #4451 from jdufresne/https
...
Prefer https over http for links in the documentation
2018-01-06 15:22:59 -08:00
Jon Dufresne
030dcce20c
Prefer https over http for links in the documentation
...
- Fixed Read the Docs links
- Fixed GitHub links
- Fixed PyPI links
2018-01-06 11:23:50 -08:00
Ian Stapleton Cordasco
3dc84cde5b
Merge pull request #4442 from DemetriosBairaktaris/master
...
Reduce overall memory usage by removing cgi dependency and writing a protected function
2018-01-04 16:32:39 -06:00
dbairaktaris1
e0ab287317
added more to test scenarios
2018-01-04 10:59:47 -06:00
dbairaktaris1
7deee699ad
slice function removed
2018-01-04 10:48:17 -06:00
dbairaktaris1
cb0914407b
Continue to refactor, remove list comprehension, add double quotes test case.
2018-01-04 10:30:50 -06:00
dbairaktaris1
80a790443e
implement changes after code review
2018-01-03 23:41:41 -06:00
dbairaktaris1
071796d83f
implement changes after code review
2018-01-03 23:40:08 -06:00
dbairaktaris1
1988d9cf72
Move nested function up to module level and rename. Add more tests for function.
2018-01-01 14:20:55 -06:00
dbairaktaris1
2dc51c887f
added versions back
2018-01-01 00:43:13 -06:00
dbairaktaris1
19cfec28a8
CI
2017-12-31 22:18:19 -06:00
dbairaktaris1
cef0830419
clean
2017-12-31 15:02:39 -06:00
dbairaktaris1
d8666e1906
Reduce overall memory usage of Requests module by removing cgi module dependency in utils.py. Instead wrote a nested function to parse header and return content type and params.
2017-12-31 14:46:15 -06:00
Cory Benfield
24092b11d7
Merge pull request #4380 from afedchin/win10
...
utils: winreg module may not exist like on windows universal platform.
2017-11-27 20:39:15 +00:00
Anton Fedchin
351ec982bb
update changelog
2017-11-25 17:21:59 +03:00
Anton Fedchin
714c9dc967
utils: winreg module may not exist like on windows universal platform.
2017-11-25 17:21:59 +03:00
Cory Benfield
d1fb1a29ab
Merge pull request #4394 from zaneb/document-status_codes
...
Add documentation for available status codes
2017-11-23 20:19:12 +00:00
Cory Benfield
c2507013ab
Merge branch 'master' into document-status_codes
2017-11-22 20:41:46 +00:00
Nate Prewitt
e68ef0ecad
Merge pull request #4368 from danielroseman/patch-1
...
Clarify behaviour of `json` parameter.
2017-11-22 07:56:09 -08:00
Zane Bitter
19919b44c4
Add documentation for available status codes
...
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.
2017-11-21 16:11:34 -05:00
Daniel Roseman
39446def39
Clarify behaviour of json parameter.
...
`json` is ignored if `data` or `files` is not empty.
2017-11-21 13:40:59 +00:00
Mingyuan Xia
acd2645444
#4373 , fix possible winreg value type difference ( #4377 )
...
* #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
2017-11-20 20:01:04 +00:00
Ian Stapleton Cordasco
e4fc3539b4
Merge pull request #4390 from alexwlchan/ok-docs
...
[docs; tiny] Clarify that Response.ok will *only* return True/False
2017-11-20 07:18:00 -06:00
Alex Chan
775cde0914
Clarify that Response.ok will *only* return True/False
2017-11-20 09:16:35 +00:00
Cory Benfield
c3f2553114
Merge pull request #4387 from dave-shawley/clarify-docs
...
Clarify raw response reading in the quickstart.
2017-11-18 09:44:29 +00:00