Ian Cordasco
5478dd6271
Merge pull request #2547 from sh1buy/bug_2540
...
Fix MisssingSchema error message does not handle unicode input correctly #2540
2015-04-10 21:59:13 -05:00
sh1buy
599f834351
fix bug 2540
2015-04-11 03:29:21 +03:00
sh1buy
f02d0f9e79
Fix bug 2540
2015-04-11 01:41:02 +03:00
sh1buy
f89b5a5d90
fix bug 2540
2015-04-11 00:23:07 +03:00
kennethreitz
ccc03b93ef
Test
2015-04-10 13:22:14 -04:00
kennethreitz
b0c008c593
Merge pull request #2536 from smiley/master
...
Document that "PreparedRequest.prepare_cookies" can only be called once
2015-04-06 18:29:17 -04:00
Cory Benfield
a57c87a459
Merge pull request #2535 from sigmavirus24/bug/2530
...
Fix build version number in metadata
2015-04-06 17:54:22 -04:00
Smiley Barry
e3c7b43fc9
#2532 : Documented strange behaviour in "PreparedRequest.prepare_cookies", caused by cookielib. Also documented a workaround if absolutely necessary.
2015-04-06 21:00:51 +03:00
Ian Cordasco
956ec8321a
Merge pull request #2427 from luozhaoyu/master
...
Bug fix: field uri in digest authentication should not be empty when enc...
2015-04-06 10:19:15 -05:00
Cory Benfield
0581f2c7d2
Merge pull request #2533 from sigmavirus24/bug/2465-2
...
Place VendorAlias first in meta_path
2015-04-06 07:19:15 -04:00
Cory Benfield
1ff9a05181
Merge pull request #2534 from sigmavirus24/bug/2527
...
Copy a PreparedRequest's CookieJar reliably
2015-04-06 07:15:55 -04:00
Ian Cordasco
36093e69c7
Copy a PreparedRequest's CookieJar reliably
...
When a PreparedRequests's cookie jar is not a RequestsCookieJar instance, it
will not have a "copy" method. By adding _copy_cookie_jar we can reliably copy
cookie jars so that we have an actual copy instead of the same instance on
different prepared requests.
This also updates the RequestsCookieJar.update logic to create copies of
cookies from the other jar.
Closes #2527
2015-04-05 21:49:52 -05:00
Ian Cordasco
dacf69a16d
Fix build version number in metadata
...
Closes #2530
2015-04-05 21:49:10 -05:00
Ian Cordasco
1b5bfe681b
Place VendorAlias first in meta_path
...
When other libraries or tools add items to the meta_path, we need to preempt
some of their import hooks to be sure modules can be properly found. This also
prevents problems importing built-in modules on Python 2 where it will first
attempt to import something like:
requests.packages.chardet.sys
By placing our VendorAlias first, the above will fail and then it will fall
back to trying to import sys directly instead.
Closes #2465
2015-04-05 20:48:36 -05:00
Cory Benfield
18e678c1f8
Merge pull request #2531 from benjaminran/issue2062
...
Issue 2062: Updated custom header precedence info with .netrc example
2015-04-05 23:33:29 +01:00
benjaminran
1b1866934b
updated custom header precedence info with .netrc example
2015-04-05 14:23:10 -07:00
Cory Benfield
d294de38c4
Merge pull request #2525 from benjaminran/issue2062
...
Issue 2062: Added custom header precedence info
2015-04-03 16:57:54 +01:00
benjaminran
898465756a
added custom header precedence info
2015-04-03 07:58:42 -07: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
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
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