kennethreitz
df918c066f
Merge branch 'master' into master
2019-08-20 00:25:37 -04:00
Alessio Izzo
a0d58026e0
Merge branch 'master' into master
2019-07-24 12:42:40 +02:00
Denis Belavin
3922dcf2a1
Merge branch 'master' into master
2019-07-23 21:36:37 +03:00
Dull Bananas
f9ac75cab1
Fix GitHub profile link
2019-07-20 09:31:39 -07:00
Dull Bananas
ebd3e36ad5
Add 'Dull Bananas' to AUTHORS
2019-07-20 09:29:50 -07:00
Белавин Денис
d91fe00983
#4965 fix-draw: Accessing response.content twice removes forgets read error.
2019-05-13 17:18:42 +03:00
aless10
177f4dd2a4
[fix] fix failing doctests in requests/*
...
[add] add --doctest-modules in pytest.ini file as addopts
[add] add myself to AUTHORS
2019-02-17 19:06:01 +01:00
Hugo Osvaldo Barrera
6ae8a21892
Add myself to AUTHORS
...
(Or rather, just update my email)
2018-10-16 20:34:56 -07:00
Antti Kaihola
87fb312534
Add myself to the authors list
2018-07-20 10:30:31 +03:00
Rajiv Mayani
8546a15587
The library raises NoneType error when file-pointer (fp) resolves to None.
...
>>> 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.
2018-05-17 13:56:17 -07:00
kennethreitz
f51c489d38
fix
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 17:41:09 -05:00
kennethreitz
773eeff1a2
authors
...
Signed-off-by: Kenneth Reitz <me@kennethreitz.org >
2018-03-07 17:40:38 -05: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
dbairaktaris1
cb0914407b
Continue to refactor, remove list comprehension, add double quotes test case.
2018-01-04 10:30:50 -06:00
Nehal J Wani
9a8a826f22
Check if host is invalid for proxy
...
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
2017-11-15 08:58:54 -05:00
Arthur Vigil
c86b09b3c6
support extraction of certificate bundle from a zip archive
2017-11-05 12:14:17 -08:00
Taylor Rose
15054aa390
Warn user about possible slowdown when using cryptography version <
...
1.3.4
2017-10-14 09:00:58 -04:00
kennethreitz
b670b61d54
Update AUTHORS.rst
2017-08-08 19:16:39 -04:00
Justin Mayhew
c6a6347156
Remove exec permission from files that shouldn't have it
2017-06-10 20:38:45 -03:00
mlcrazy
edcc894a2e
Adds to AUTHORS
2017-06-09 14:29:28 -04:00
mlcrazy
1d7fd6c8b3
Fixes error swallowing in set_environ
2017-06-09 14:10:47 -04:00
Ryan Pineo
1278ecdf71
Fix requests.packages not having package attributes
...
Fixes #4104
2017-05-29 17:27:10 -04:00
kennethreitz
2e67c86075
merge
2017-05-27 17:24:06 -04:00
kennethreitz
44106f18b7
Update AUTHORS.rst
2017-04-25 11:06:38 -04:00
shmuelamar
a3e597c171
fix unicode decode error on py2 when handling redirect without scheme
2017-04-14 16:20:27 +03:00
Gary Wu
21972c4601
fix #3902 Add proposed documentation change for post data
2017-03-01 13:04:11 -06:00
David Fontenot
c121b98c4e
wrapped proxy_bypass() with cache lookup
...
Used to alleviate long gethostbyaddr calls
Made new TimedCache and decorator to wrap
a function with a cache
* Entries looked up older than a minute (default amount)
are evicted.
* When full, evicts the oldest entry
2017-02-23 14:04:16 -08:00
jonathan vanasco
70f31a3166
* initial attempt at get_redirect_target
...
* removing the `i` from the redirect detection while-loop
2017-02-10 13:53:23 -05:00
mattkohl
b41bb9ecb2
Added name & github link
2017-02-10 10:48:15 +00:00
Moin
fae3f92c34
lazily load idna library
2017-01-17 20:34:15 +05:30
Andrii Soldatenko
2bcaff99ea
Added python 3.6.0
2017-01-09 00:40:32 +02:00
Casey Davidson
14d71fd41a
Test chunked upload doesn't set content length
2016-12-04 12:01:07 -07:00
Hussain
be8b13e89b
Added myself to AUTHORS
2016-11-16 23:33:42 +05:30
Philipp Konrad
548a03acef
requests.post checked data parameters for type like dict.
...
Changed the type check to Mapping.
2016-10-27 17:57:09 +02:00
Om Prakash
ed0570bc2b
updates authors
...
updates AUTHORS for #3603
2016-09-28 16:38:51 +05:30
Brian Bamsch
550dc19099
Add line to AUTHORS
...
Credit where credit is due 😄
2016-09-25 22:22:33 -07:00
Michael Hunsinger
77b068bb9e
Fixed bug to give scheme proxy priority over "all"
2016-08-21 10:59:33 -06:00
Maik
b5fac31688
Changes to documentation based on comments and correction of list of authors.
2016-08-17 22:03:18 +02:00
Maik Himstedt
b26606cc3c
Adding notes about Request's timeout behavior.
2016-08-17 20:27:00 +02:00
Nate Prewitt
2669ab797c
check and test for headers containing return characters or leading whitespace
2016-07-02 13:10:47 -06:00
Jesse Shapiro
386382b18c
Encoding JSON requests to bytes for urllib3 to handle; ensuring same with testing.
2016-05-04 20:09:07 -04:00
kennethreitz
f803dc6c99
updated authors
2016-04-29 17:52:11 -04:00
Dmitry Dygalo
6c2942b198
Initial work
2016-02-02 13:24:05 +01:00
Brian Samek
9a20afd6b5
Refactor default params
...
Specified the default argument for params that have a default in the docstring
so that the default is easier to see from the code. Modified the docstring in
api.py to match the docstring in sessions.py.
2015-12-11 13:32:09 -05:00
Jon Parise
27f5a15364
Include a link to my GitHub profile.
2015-11-26 09:34:01 -05:00
vienno
f835843f87
error in github bio link
2015-11-10 14:07:55 +01:00
vienno
cf9da5b52e
add myself to authors
2015-11-10 14:05:24 +01:00
shagun Sodhani
b675377dc2
added fix for #2826
2015-10-16 17:01:36 +05:30
Smiley Barry
2411b1f56a
Added name to AUTHORS after PR #2724
2015-08-15 21:00:13 +03:00
colin
1da62a65d9
fix contextlib.closing bug for sessions where content is not consumed (issue #2593 )
2015-05-24 15:01:34 -04:00