Nate Prewitt
dffd5d435e
Merge pull request #4678 from jdufresne/intersphinx
...
In docs, use intersphinx to link to Python documentation
2018-08-11 20:34:59 -07:00
Jon Dufresne
5aa6a9b654
In docs, use intersphinx to link to Python documentation
...
The intersphinx extension can generate automatic links to the
documentation of objects in other projects. It was already used for
urllib3. For complete details on intersphinx, see:
http://www.sphinx-doc.org/en/master/ext/intersphinx.html
2018-08-11 17:31:43 -07:00
Nate Prewitt
922aa406b5
updating HISTORY.rst
2018-08-11 12:54:21 -07:00
Nate Prewitt
489f58ced5
represent classifiers as list instead of tuple
2018-08-06 23:04:50 -07:00
Jon Dufresne
c8f3add5ed
Update all documentation to show Python 3.7 is supported
...
Official support was added in 6686ac1730 .
2018-08-02 10:55:40 -07:00
Nate Prewitt
285ab5b06b
Merge pull request #4755 from dohvis/patch-1
...
Add return type on cookies.py
2018-08-02 10:53:43 -07:00
Dohyeon Kim
72d96a67ef
Add return type on cookies.py
...
http://docs.python-requests.org/en/master/api/#api-cookies
2018-08-01 17:21:03 +09:00
Nate Prewitt
e4d214dd76
Merge pull request #4749 from derlin/master
...
make content-type's charset information case-insensitive
2018-07-24 09:42:27 -07:00
Lucy Linder
907c927d60
make content-type's charset information case-insensitive
...
see issue https://github.com/requests/requests/issues/4748 for more information
2018-07-24 18:13:50 +02:00
Eric Brown
6686ac1730
Add official Python 3.7 support ( #4717 )
...
* Add official Python 3.7 support
Python 3.7 was just released [1]. This is a small change to
enable support in requests.
Signed-off-by: Eric Brown <browne@vmware.com >
2018-07-24 07:44:37 -07:00
Nate Prewitt
8e43d34d1f
Merge pull request #4701 from akaihola/4700-multivalued-list-form-encoded
...
Documentation and tests for form-encoded multivalued elements as lists
2018-07-20 09:56:28 -07:00
Antti Kaihola
9c92f757e6
Rolled multi-value form examples in documentation into one ( #4700 )
...
As suggested by @nateprewitt
2018-07-20 10:30:31 +03:00
Antti Kaihola
87fb312534
Add myself to the authors list
2018-07-20 10:30:31 +03:00
Antti Kaihola
9a8eb131c9
Documentation for multivalued form-encoded element as a list ( #4700 )
2018-07-20 10:30:31 +03:00
Antti Kaihola
691e9520ed
Add test for multivalued form-encoded element as a list ( #4700 )
2018-07-20 10:30:31 +03:00
Steven M. Vascellaro
4d51e6d201
Remove unused httpbin parameters
...
httpbin is used to mock HTTP endpoints. In these methods, the parameter
goes unused.
2018-07-17 19:39:18 -07:00
Nate Prewitt
5aeec8b661
Merge pull request #4739 from moy/doc-list-of-tuples
...
Document that params and data can be list of tuples everywhere
2018-07-17 15:16:02 -07:00
Matthieu Moy
c008bf3883
Document that 'params' can also be a list of tuples
...
Like we just did for 'data', 'params' follows the same processing and
can also be a list of tuples.
2018-07-17 18:55:55 +02:00
Matthieu Moy
2d1b4482c5
Document that 'data' can be a list of tuples everywhere
...
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.
2018-07-17 18:45:43 +02:00
kennethreitz
f6e13ccfc4
Update MANIFEST.in
2018-07-12 14:16:01 -04:00
Ian Stapleton Cordasco
4499401a55
Merge pull request #4728 from yan12125/patch-1
...
Fix an invalid escape sequence
2018-07-09 07:19:50 -05:00
Chih-Hsuan Yen
b1a360c2f1
Fix an invalid escape sequence
2018-07-09 01:10:00 +08:00
Nate Prewitt
ef88b9faa6
Merge pull request #4713 from Stevoisiak/fix-docstring-param
...
Misspelled 'proxy' parameter in docstring
2018-06-26 13:32:32 -07:00
Steven M. Vascellaro
5d90638281
Misspelled 'proxy' parameter in docstring
...
The 'proxy' parameter was misspelled as 'proxies' in the docstring.
2018-06-26 14:58:18 -04:00
Nate Prewitt
9fc639d030
Merge pull request #4710 from Stevoisiak/remove-unused-sessions
...
Remove unused session variables
2018-06-26 09:50:40 -07:00
Steven M. Vascellaro
28da72b616
Remove unused session variables
...
Removed local session variables that go unused during testing.
2018-06-26 12:34:15 -04:00
kennethreitz
943a5c8e89
Merge pull request #4709 from Stevoisiak/update-twitter-max-characters
...
Update max Twitter characters to 280
2018-06-25 14:11:39 -04:00
Steven M. Vascellaro
0c036feb89
Update max Twitter characters to 280
...
Twitter expanded the maximum character count per tweet from 140 to 280 in November 2017.
2018-06-25 12:56:14 -04:00
kennethreitz
d79187143f
Merge pull request #4708 from Stevoisiak/stack-overflow-typo
...
Change "StackOverflow" to "Stack Overflow"
2018-06-25 11:48:05 -04:00
Steven M. Vascellaro
3e4efeeb89
Change "StackOverflow" to "Stack Overflow"
...
Add a missing space when referring to "Stack Overflow".
2018-06-25 11:39:07 -04:00
Nate Prewitt
cd97ce90ba
Merge pull request #4685 from Stevoisiak/patch-2
...
Note that session() should not be used
2018-06-21 12:09:06 -07:00
Steven M. Vascellaro
1c13c5e6f3
Document that requests.session() is depreciated
...
Adds a docstring note that `requests.session()` is depreciated. Users should
use `requests.Session()` in versions released after Requests v1.0.
2018-06-21 09:46:16 -04:00
Nate Prewitt
883caaf145
v2.19.1
v2.19.1
2018-06-14 06:26:27 -07:00
Ian Stapleton Cordasco
2530323faf
Merge pull request #4683 from martindurant/docstrings_for_optimize
...
Do not alter status_codes docstring if it is None
2018-06-13 10:24:45 -05:00
Martin Durant
8031ec76b8
Do not alter status_codes docstring if it is None
...
With PYTHONOPTIMIZE=2, the current code breaks with TypeError.
2018-06-12 17:52:50 -04:00
Nate Prewitt
991e8b76b7
v2.19.0
...
* Updated HISTORY.rst.
* Moved version pin for idna to allow recent 2.7 release.
* Updated version warning for urllib3 to allow 1.23.
* Updated metadata dunders in __version__.py.
* Removed Python 2.6 trove classifier.
* Removed Python 2.6 reference from README.rst.
v2.19.0
2018-06-12 07:38:10 -07:00
Raymond Hettinger
7e297ed95b
Separate collections from collections.abc
2018-06-11 22:14:59 -07:00
Laurent Bachelier
10915e3b0d
Add a public method to get the cookie policy
2018-06-11 22:13:07 -07:00
Laurent Bachelier
ace0c200f4
Add cookie policy related tests
2018-06-11 22:13:07 -07:00
Laurent Bachelier
3ef49272f2
Copy cookie policy when copying a CookieJar
...
Without it, the cookie policy would get lost while making a request.
That would be invisible to the user if the default cookie policy wasn't
changed, of course.
2018-06-11 22:13:07 -07:00
Nate Prewitt
d1aeb7ea8c
Merge pull request #4672 from requests/remove_2.6_refs
...
remove references to 2.6 support in documentation
2018-06-11 07:13:13 -07:00
Nate Prewitt
de64f0f23f
port pyopenssl fix from urllib3
2018-06-10 14:49:13 -07:00
Nate Prewitt
bc46de58e6
remove references to 2.6 support in documentation
2018-06-10 14:48:59 -07:00
Nate Prewitt
16fd7e03a9
Merge pull request #4676 from jdufresne/doc-py3
...
Update Python 2 doc links to Python 3
2018-06-10 08:37:08 -07:00
Jon Dufresne
35a1874912
Update Python 2 doc links to Python 3
...
The Python 3 docs are better maintained and are the future of Python
development.
2018-06-09 20:29:41 -07:00
Nate Prewitt
d98f881118
Merge pull request #4669 from michael-k/patch-1
...
Allow urllib3 1.23
2018-06-05 06:35:08 -07:00
Michael
ac944b7439
Allow urllib3 1.23
...
https://github.com/urllib3/urllib3/blob/1.23/CHANGES.rst#123-2018-06-04
2018-06-05 12:06:03 +00:00
Ian Stapleton Cordasco
00fd4c8eb4
Merge pull request #4661 from ofek/patch-2
...
Response.content minor perf improvement
2018-05-26 19:00:25 -05:00
Ofek Lev
c1b828bc95
Response.content minor perf improvement
2018-05-26 18:20:27 -04:00
Nate Prewitt
fe8290b3d0
updating HISTORY.rst
2018-05-17 13:56:17 -07:00