Cory Benfield
452ba32edf
Merge pull request #2497 from Lukasa/secprocess
...
Requests security release policy
2015-03-27 11:03:41 +00: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
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
Rasmus Scholer (TimelineX)
1887f32b17
test_can_send_bytes_bytearray_objects_with_files test now uses string input, not float.
2015-03-03 14:37:39 -05:00
Rasmus Scholer (TimelineX)
326f77d57c
Created test case for using bytes and bytearray objects with files argument to Request.
2015-03-03 03:41:00 +01:00
Rasmus Scholer (TimelineX)
11b12c3e07
models.RequestEncodingMixin._encode_files now takes bytearray as fp in addition to the currently supported bytes and str input.
2015-03-03 02:44:52 +01:00
Ian Cordasco
2669f0c0b1
Fix when packages are unvendored
...
When working these changes back upstream to pip, we realized that the
previous fix wasn't ideal since unvendoring the packages broke the
imports. For example, if urllib3 were unvendored, then the following
would fail:
from requests.packages import urllib3
2015-02-28 23:04:24 -06:00
Ian Cordasco
9d8a57f2a2
Add a test to ensure the alias does not regress
2015-02-28 20:19:13 -06:00
Ian Cordasco
6ea3f2ada8
Only alias the imports for vendored dependencies
...
While discussion the issue, Donald Stufft (@dstufft) and I realized the
simplest solution is to simply add an alias per vendored dependency. The
resulting changes are simple and effective. It prevents the issue in
2.5.2 and 2.5.3 where the following would work:
from requests.packages import webbrowser
This now appropriately raises an ImportError.
Closes #2465
2015-02-28 20:13:46 -06:00
Cory Benfield
461b740db6
Merge pull request #2459 from kennethreitz/release-notes/2.5.3
...
Update HISTORY and release version for 2.5.3
2015-02-24 16:32:15 +00:00
Ian Cordasco
628474d626
Update HISTORY and release version for 2.5.3
v2.5.3
2015-02-24 10:30:17 -06:00
Cory Benfield
de674fc82c
Merge pull request #2458 from kennethreitz/revert-2442-certs
...
Revert "Update certificate bundle."
2015-02-24 16:18:16 +00:00