exvito
e8d9bc55bc
Issue #2334 - HTTPDigestAuth - All state now in thread local storage
...
Following feedback from tardyp and @vincentxb.
2015-04-03 14:21:29 +01:00
exvito
e65360dbaf
Issue #2334 - HTTPDigestAuth - Replace getattr utilization
...
Following Lukasa + kennethreitz suggestion.
2015-04-02 21:29:51 +01:00
exvito
845e8f943f
Issue #2334 - HTTPAuthDigest - Making it thread-safe
...
The existing code counts the number of 401 responses in the num_401_calls
authenticator attribute. This is in place so as to ensure the necessary auth
header is sent, while avoiding infinite 401 loops (issue #547 ).
This commit makes num_401_calls an instance of threading.local() (previously
an integer), using num_401_calls.value as the counter.
It ensures that concurrent authentication requests get each their own counter
and behave as expected (otherwise every other concurrent request would have
its authentication fail).
2015-04-02 14:24:54 +01:00
kennethreitz
0ad075c430
Update index.rst
2015-03-31 12:44:50 -04:00
Ian Cordasco
460caf71a4
Merge pull request #2518 from deronnax/shorter_version_extraction
...
shorter and faster version extraction from __init__.py
2015-03-27 07:49:29 -05:00
Cory Benfield
452ba32edf
Merge pull request #2497 from Lukasa/secprocess
...
Requests security release policy
2015-03-27 11:03:41 +00:00
Paul van der Linden
587eb193dd
fix resolve redirect to pass all original arguments
2015-03-26 19:57:16 +00:00
deronnax
1145fe64a5
matching the version only at the begining of lines
2015-03-26 15:53:19 +01:00
deronnax
ce234d53a5
shorter and faster version extraction from __init__.py
2015-03-25 18:21:34 +01:00
Cory Benfield
e95e173b8c
Merge pull request #2514 from kennethreitz/revert-2513-master
...
Revert "Minor Patch TypeError thrown"
2015-03-23 15:13:14 +00:00
Ian Cordasco
b2ce5be9d0
Revert "Minor Patch TypeError thrown"
2015-03-23 10:11:13 -05:00
Cory Benfield
a0f5776f35
Merge pull request #2513 from Montycarlo/master
...
Minor Patch TypeError thrown
2015-03-23 06:18:48 +00:00
Josh Brown
1b5317ea08
Minor Patch TypeError thrown
2015-03-23 16:01:48 +11:00
Ian Cordasco
8dda20f8e3
Merge pull request #2512 from Lukasa/elapsed
...
Expand on what 'elapsed' means.
2015-03-22 14:51:17 -05:00
Cory Benfield
54791d1970
Expand on what 'elapsed' means.
2015-03-21 16:27:21 +00:00
Cory Benfield
b7e3370762
'At least'
2015-03-18 21:40:03 +00:00
Cory Benfield
84cc36017a
Expand on chunked handling.
2015-03-18 21:31:55 +00:00
Cory Benfield
bedd2be0a7
Clarify that we ship patches early.
2015-03-18 21:27:20 +00:00
Cory Benfield
b974cd3741
Describe our new vulnerabilities process.
2015-03-17 20:07:28 +00:00
Cory Benfield
86f9b1616a
Merge pull request #2501 from yasoob/master
...
Added myself to authors.rst
2015-03-16 20:31:09 +00:00
M.Yasoob Ullah Khalid ☺
dfa0a2925f
added myself to authors.rst
2015-03-17 01:29:33 +05:00
M.Yasoob Ullah Khalid ☺
81d2d5535a
Merge pull request #1 from kennethreitz/master
...
Only for me
2015-03-17 01:25:05 +05:00
Cory Benfield
cd3f7eb388
Merge pull request #2493 from yasoob/master
...
made the quickstart more reader friendly
2015-03-15 18:39:54 +00:00
M.Yasoob Ullah Khalid ☺
3711e04f37
edited the useragent string
2015-03-15 22:42:43 +05:00
Cory Benfield
8c6d82a244
Merge pull request #2496 from Lukasa/cve
...
Update 2.6.0 changelog with CVE number CVE-2015-2296
2015-03-15 11:50:51 +00:00
Cory Benfield
3385c78999
Update 2.6.0 changelog with CVE number.
2015-03-15 11:49:32 +00:00
M.Yasoob Ullah Khalid ☺
6e2f1eb402
made the quickstart more reader friendly. Closes #2418
2015-03-15 01:02:09 +05:00
Ian Cordasco
fa338da717
Merge pull request #2492 from sigmavirus24/release/v2.6.0
...
Bump version and add release notes for 2.6.0
v2.6.0
2015-03-14 11:43:32 -05:00
Ian Cordasco
80a3e87bf3
Bump version and add release notes for 2.6.0
2015-03-14 11:42:38 -05:00
Ian Cordasco
bbbd9de6fd
Merge pull request #2472 from scholer/master
...
Avoid data duplication when creating a Request with str/bytes/bytearray input
2015-03-14 07:43:17 -05:00
Ian Cordasco
e776bb2656
Merge pull request #2489 from Lukasa/cookiebad
...
Don't label cookies for the target domain.
2015-03-14 07:05:48 -05:00
Cory Benfield
f7c85685a8
Add explanatory comment for cookie change
2015-03-14 11:29:05 +00:00
Cory Benfield
8a2fd7ce6d
Merge pull request #2486 from sigmavirus24/bug/2462
...
Extract version from requests/__init__.py instead of importing requests
2015-03-14 11:20:33 +00:00
Cory Benfield
76f7ce8a24
Merge pull request #2487 from ulope/return_type
...
Add return type field to entry-point docstrings
2015-03-14 11:19:12 +00:00
Ulrich Petri
573d460aa7
Add return type field to entry-point docstrings
...
Fixes : #2483
2015-03-14 10:49:32 +01:00
Cory Benfield
3bd8afbff2
Don't ascribe cookies to the target domain.
2015-03-14 08:49:55 +00:00
Ian Cordasco
1acc4992d4
Parse version number out of requests/__init__.py
...
With the new import machinery in requests/packages/__init__.py people
using `python setup.py test` will not be able to run the tests the first
time on a new environment. The VendorAlias logic breaks the import
machinery and the tests fail. By removing the import of requests in
setup.py, we avoid the issue where sys.meta_path continues to have the
version of VendorAlias from the import in setup.py.
Closes #2462
2015-03-13 21:47:29 -05:00
Cory Benfield
bc746e158c
Merge pull request #2485 from sigmavirus24/bug/shazow/urllib3/567
...
Import urllib3's Retry location from the right place
2015-03-12 06:50:33 +00:00
Ian Cordasco
c4bd6ea150
Import urllib3's Retry location from the right place
...
Importing from urllib3's top-level location causes the namespace to be
urllib3.util.retry.Retry instead of
requests.packages.urllib3.util.retry.Retry. Without this fix, an using
requests with an un-vendored version of urllib3 will break when urllib3's
retry handling kicks in.
Closes shazow/urllib3#567
2015-03-11 20:52:12 -05:00
Ian Cordasco
9adaae6785
Merge pull request #2482 from sigmavirus24/update-urllib3
...
Update urllib3 to 43b5b2b452e4344374de7d08ececcca495079b8d
2015-03-11 09:52:11 -05:00
Ian Cordasco
a0790f37b7
Update urllib3 to 43b5b2b452e4344374de7d08ececcca495079b8d
2015-03-10 19:34:34 -05:00
Cory Benfield
14b653ab3c
Merge pull request #2478 from plaes/iter-lines
...
Document Response.iter_lines() deficiencies
2015-03-07 10:03:42 +00:00
Priit Laes
4497a26c37
Document Response.iter_lines() reentrancy issues
2015-03-07 12:00:41 +02:00
Priit Laes
62200cb07e
Add testcase to demonstrate r.iter_lines() reentrancy issue
2015-03-07 12:00:37 +02:00
Ian Cordasco
c53aa08cce
Merge pull request #2429 from kennethreitz/sigmavirus24/docs/support
...
Update support documentation to be more accurate
2015-03-04 16:20:33 -06:00
Cory Benfield
bcfcd9f980
Add Lukasa's GPG key fingerprint.
2015-03-04 20:16:25 +00:00
Rasmus Scholer (TimelineX)
ec700a9a13
Avoid duplicating files data when creating a Request with str/bytes/bytearray in the files argument. 30-40% performance improvement.
2015-03-04 10:21:38 -05:00
Ian Cordasco
e7ac8ea0c1
Add PGP Key fingerprints
2015-03-04 08:11:39 -06:00
Ian Cordasco
39e49e5fb9
Merge pull request #2466 from sigmavirus24/bug/2465
...
Only add VendorAliases for vendored dependencies
2015-03-04 07:49:12 -06:00
Ian Cordasco
61f4faae70
Merge pull request #2468 from scholer/master
...
Support for bytearray when creating Request with files argument, just like str and bytes.
2015-03-03 14:01:31 -06:00