Chavithra
24dfbfde55
Update quickstart.rst : fixing brotlicffi link ( #6044 )
2022-01-17 11:30:24 -07:00
chyzzqo2
fa1b0a367a
Initialize JsonDecodeError before initializing IOError ( #6036 )
...
That way we get the formated error message
Co-authored-by: Peter <cHYzZQo@netflix.com >
2022-01-13 08:42:49 -07:00
Ian Stapleton Cordasco
d15a3b6e2e
Merge pull request #6042 from nateprewitt/lock_thread_spam
...
Disable lock-threads on forks
2022-01-11 11:42:00 -06:00
Nate Prewitt
48676caf57
Disable lock-threads on forks
2022-01-11 08:24:39 -07:00
Nate Prewitt
d718e75383
Start testing on 3.11 dev branch ( #6037 )
2022-01-07 12:07:31 -07:00
Marwan
620ed4fc52
Move socks testing requirement into requirements-dev.txt ( #6035 )
2022-01-06 10:57:59 -07:00
Nate Prewitt
31a89d9c84
v2.27.1
2022-01-05 08:35:04 -07:00
Ian Stapleton Cordasco
8fa9724398
Merge pull request #6028 from nateprewitt/prox_auth_fix
...
Fix auth parsing for proxies
2022-01-04 10:04:25 -06:00
Nate Prewitt
38f3f8ecb9
Fix auth parsing for proxies
...
Co-authored-by: adamp01 <@adamp01>
2022-01-04 08:27:23 -07:00
Nate Prewitt
0192aac241
v2.27.0
2022-01-03 07:59:10 -07:00
Nate Prewitt
e50dc12b0f
Fix doc link
2022-01-02 22:20:40 -07:00
Nate Prewitt
17e6e27a93
General cleanup for 2.27.0
2021-12-29 16:29:09 -06:00
Greg Dubicki
ab38e2c726
Make the data vs json parameters more clear ( #5382 )
...
As https://stackoverflow.com/q/26685248/2693875 question
and answer popularity shows that there is a lot of people who
do not understand the distinction.
2021-12-29 10:46:21 -07:00
Nate Prewitt
77d1e9aa3e
Merge pull request #5894 from dbaxa/do-not-re-build-proxies-when-proxies-have-been-provided
...
Prevent unnecessary should_bypass_proxies checks in rebuild_proxies
2021-12-29 10:06:05 -07:00
Ian Stapleton Cordasco
b0829a8690
Merge pull request #6020 from nateprewitt/pypy_37
...
Update 3.10-dev to 3.10 and add pypy-3.7 in CI
2021-12-29 07:32:11 -06:00
Ian Stapleton Cordasco
28d537dde3
Merge pull request #5917 from nateprewitt/proxy_scheme_unknown_fix
...
Move from urlparse to parse_url for prepending schemes
2021-12-29 07:31:40 -06:00
Nate Prewitt
86bbee71b2
Update 3.10-dev to 3.10 and add pypy-3.7
2021-12-28 22:28:30 -07:00
Nate Prewitt
0d5347e628
Only compute should_bypass_proxies if needed
...
Co-authored-by: David Black <dblack@atlassian.com >
2021-12-28 22:10:51 -07:00
Nate Prewitt
ef59aa0227
Move from urlparse to parse_url for prepending schemes
2021-12-28 21:12:00 -07:00
Ian Stapleton Cordasco
d09659997c
Merge pull request #5414 from mondeja/5367
...
Raise InvalidUrl if host starts with '.' character.
2021-12-28 19:39:36 -06:00
Ian Stapleton Cordasco
2b06a952a9
Merge pull request #6017 from nateprewitt/schema2scheme
...
Fix erroneous use of 'schema' instead of 'scheme'
2021-12-28 19:39:08 -06:00
Ian Stapleton Cordasco
e2064a2c05
Merge pull request #6018 from nateprewitt/basic_auth_update
...
Update basic auth example
2021-12-28 19:38:35 -06:00
Nate Prewitt
401e17bbdc
Update basic auth example
2021-12-28 18:07:01 -07:00
Nate Prewitt
4246792b81
Fix erroneous use of 'schema' instead of 'scheme'
2021-12-28 17:32:48 -07:00
Álvaro Mondéjar
658c10e84a
Raise InvalidURL if hosts starts with '.' as was reported at #5367 .
2021-12-28 14:24:24 -07:00
Abhinav Vashisth
39d0fdd909
Update README.md ( #5998 )
2021-12-05 02:52:10 -08:00
Ian Stapleton Cordasco
c193d9742e
Merge pull request #5993 from davisagli/tox-parallel
...
Run tox in parallel using -p instead of detox
2021-11-30 08:07:59 -06:00
David Glick
8e764f355d
Run tox in parallel using -p instead of detox
2021-11-29 22:20:47 -05:00
Nate Prewitt
7556ea4213
Merge pull request #5391 from hodbn/fix-5274
...
Send only one Host header in chunked request
2021-11-29 07:58:31 -08:00
David Hotham
2d2447e210
Catch AttributeError in utils.super_len ( #5239 )
...
* Catch AttributeError in utils.super_len
This allows it to handle files obtained via `Tarfile.extractfile()`.
2021-11-28 12:04:49 -08:00
Ian Stapleton Cordasco
e77dd8de6e
Merge pull request #5990 from mgorny/trustme-test-dep
...
Skip the test requiring trustme when it is not available
2021-11-27 19:20:17 -06:00
Michał Górny
55da533a87
Defer the trustme import until inside the fixture
...
Move the trustme import from global scope into the nosan_server fixture
in order to make it possible to deselect the test via command-line
when trustme is not available.
2021-11-27 18:47:56 +01:00
Nate Prewitt
99b3b49241
Refactor rebuild_proxies to allow proxy resolution ( #5924 )
...
without stripping Proxy-Authorization header
2021-11-24 13:21:01 -06:00
Alan Yee
590350f8d0
Update Bug_report.md ( #5965 )
...
Add some highlighting and comment out the instructions so that the submitter can see it but it is not displayed in the GitHub issue
2021-10-21 11:06:33 -07:00
Nate Prewitt
9dd6e47b5b
Add doc build requirements for RTD ( #5956 )
2021-10-09 15:03:33 -07:00
Борис Верховский
94f9f7357e
Don't mention pip as the reason for supporting py2 ( #5940 )
2021-09-21 16:22:12 -07:00
Kevin Kirsche
fc106ab586
fix minor typos ( #5934 )
2021-09-15 06:43:12 -05:00
Ian Stapleton Cordasco
1e5fad7433
Update lock-issues.yml ( #5930 )
...
Run this hourly. I'm not seeing any effects, let's see if
running it more frequently will allow it to avoid the GitHub ratelimit
https://github.com/dessant/lock-threads#why-are-only-some-issues-and-pull-requests-processed
2021-09-07 17:00:31 -07:00
Nate Prewitt
248122a697
Add support for 3.10 ( #5928 )
2021-09-03 19:03:15 -07:00
Nate Prewitt
9572d6a299
General doc updates ( #5923 )
2021-09-02 08:53:46 -07:00
Nate Prewitt
4ab2550d66
Add test for default chunked Host header
2021-09-02 01:53:34 -07:00
hodbn
6fbfca90b6
Send only one Host header in chunked request
...
Closes #5274
2021-09-02 00:53:08 -07:00
Ben Li-Sauerwine
aae78010e9
Time out requests' tests after 10 minutes. ( #5916 )
2021-08-27 11:49:51 -07:00
Nate Prewitt
10968357a1
Appropriately handle urllib3's InvalidHeader exception ( #5914 )
2021-08-26 20:11:30 -05:00
Nate Prewitt
b351e906b6
Update codeql branch target ( #5913 )
2021-08-26 05:58:35 -05:00
Nate Prewitt
70a13e2a26
Fix syntax error in lock action ( #5912 )
2021-08-25 18:04:43 -07:00
Ian Stapleton Cordasco
8ea90a5ce7
Shorten the window before we lock threads
...
Per Nate's recommendation, let's lock things after 90 days rather than
360
2021-08-25 11:44:57 -07:00
Ian Stapleton Cordasco
7adb8686ac
Add thread locker workflow ( #5909 )
2021-08-25 13:21:35 -05:00
Борис Верховский
827b87b9be
Formatting ( #5910 )
2021-08-25 09:48:30 -07:00
Ben Li-Sauerwine
2d30aeb7c6
Add a test which verifies that ChunkedEncodingError is emitted if an invalid Transfer-Encoding: chunked response is returned. ( #5906 )
2021-08-24 19:00:17 -07:00