Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
c28da22
A fix for #1979 repeat HTTP digest authentication after redirect.
yossigo Sep 27, 2014
6ff6f75
Clean up, support all redirects, fix potential endless 401 loop.
yossigo Oct 7, 2014
f5ff05b
Adding a custom line delimiter to iter_lines()
2deviant Oct 22, 2014
3d8823c
Clean up handle_redirect.
yossigo Oct 23, 2014
3602690
Changing parameter name `newline` ==> `delimiter`.
2deviant Oct 24, 2014
cfd6e25
fix failing test "test_prepare_unicode_url"
ssadler Oct 25, 2014
c044a70
update AUTHORS
ssadler Oct 25, 2014
be805f9
Merge pull request #2295 from 2deviant/feature-custom-newline
kennethreitz Oct 25, 2014
77687de
Revert "fix failing test "test_prepare_unicode_url""
ssadler Oct 26, 2014
26ed7c2
fix failing test "test_prepare_unicode_url"
ssadler Oct 26, 2014
8e69c9f
Revert "fix failing test "test_prepare_unicode_url""
ssadler Oct 26, 2014
583859b
fix failing test "test_prepare_unicode_url" \(take 3\)
ssadler Oct 26, 2014
f2f3bde
Note about read timeout errors and max_retries
kevinburke Oct 26, 2014
d505b94
Add DeprecationWarnings to inform users of plans
sigmavirus24 Oct 27, 2014
091991b
Merge pull request #2306 from ssadler/fix-failing-test-test_prepare_u…
sigmavirus24 Oct 27, 2014
387c8f8
Cap the redirect_cache size to prevent memory abuse
mattrobenolt Oct 24, 2014
a703e24
Update documentation about max_retries to reflect code
kevinburke Oct 27, 2014
29ef108
Use to_native_string instead of builtin_str
Nov 1, 2014
124c094
Merge pull request #2317 from sigmavirus24/bug/2316
kennethreitz Nov 1, 2014
122c92e
Merge pull request #2253 from yossigo/digest_redirect_fix
kennethreitz Nov 1, 2014
f28bde7
Pass strict to urllib3.
Lukasa Nov 7, 2014
1c52d15
Merge pull request #2323 from Lukasa/strict
sigmavirus24 Nov 7, 2014
3155bc9
Close sessions created in the functional API
sigmavirus24 Nov 7, 2014
431282e
Merge pull request #2299 from mattrobenolt/master
sigmavirus24 Nov 7, 2014
34f6088
Added test for overriding Content-Length.
asnelzin Nov 12, 2014
ee50afe
Fixed.
asnelzin Nov 12, 2014
67c5057
Fix HTTPDigestAuth not to treat non-file as a file
akitada Nov 12, 2014
19b8e30
Merge pull request #2333 from akitada/reinit-pos
sigmavirus24 Nov 12, 2014
e4ddca0
Merge pull request #2326 from sigmavirus24/close-functional-sessions
kennethreitz Nov 12, 2014
45ef1f8
Merge pull request #2332 from asnelzin/fix-2329
kennethreitz Nov 12, 2014
1601387
Merge pull request #2308 from kevinburke/read-timeout-retry
kennethreitz Nov 12, 2014
9dc6602
Merge pull request #2309 from sigmavirus24/add-deprecation-warnings
kennethreitz Nov 12, 2014
2bc7762
Update how we handle retries to be consistent with documentation
Sep 10, 2014
f54a4e3
Update urllib3 to df4ec5cce1
sigmavirus24 Oct 25, 2014
2eb7e3c
Add last few changes and add a quick test
sigmavirus24 Oct 25, 2014
adf475e
Update HTTPAdapter docstring
sigmavirus24 Oct 25, 2014
087a27a
Partially addresses Issue #1572
ContinuousFunction Nov 16, 2014
8b03f60
Docs: Add more section labels for referencing
danmichaelo Nov 17, 2014
3246b1f
Changed ConnectionError to InvalidURL
ContinuousFunction Nov 17, 2014
c8baf88
Properly serialize RecentlyUsedContainers for cache
sigmavirus24 Nov 18, 2014
2a5364c
url was already parsed, don't urlparse twice
mattrobenolt Nov 24, 2014
1c4a666
Merge pull request #2353 from mattrobenolt/patch-1
kennethreitz Nov 30, 2014
8ae4d02
Merge pull request #2348 from danmichaelo/master
kennethreitz Nov 30, 2014
53d0238
Merge pull request #2349 from sigmavirus24/fix-pickling
kennethreitz Nov 30, 2014
7aa6c62
updatee chardet, urllib3
Dec 1, 2014
90857b8
Merge pull request #2216 from sigmavirus24/retries-take-2
kennethreitz Dec 1, 2014
cf82d44
Update tests to work offline
Dec 1, 2014
9a0ce93
Add updates for 2.5.0
Dec 1, 2014
33b2517
Bump version to 2.5.0
Dec 1, 2014
f172b30
Merge pull request #2365 from sigmavirus24/release/2.5
sigmavirus24 Dec 1, 2014
4e90aa7
Merge pull request #2363 from sigmavirus24/fix-tests
kennethreitz Dec 3, 2014
bf2e735
Enable GitHub syntax highlighting on README
frewsxcv Dec 8, 2014
1d9bf43
Merge pull request #2373 from frewsxcv/patch-1
sigmavirus24 Dec 8, 2014
508f4b1
Updated the broken link to twitter streaming API documentation
krvc Dec 8, 2014
e23bf10
Merge pull request #2374 from krvc/fix_link
sigmavirus24 Dec 8, 2014
d615405
Copy pip's import machinery wholesale
Dec 9, 2014
e8d02ea
utils.guess_filename fails if the given parameter looks like a file o…
arthurdarcet Dec 12, 2014
da82fb4
Give proper attribution to pip
sigmavirus24 Dec 13, 2014
a8205bb
Merge pull request #2379 from arthurdarcet/master
sigmavirus24 Dec 13, 2014
01b58ba
Fix a typo in a comment
namlede Dec 15, 2014
d7c0249
Merge pull request #2381 from namlede/patch-1
Lukasa Dec 15, 2014
39090cf
Merge branch 'master' of https://github.com/kennethreitz/requests
ContinuousFunction Dec 15, 2014
4c61fef
Uncommented test in test_requests.py
ContinuousFunction Dec 15, 2014
925e975
catch exception more specifically in Response.ok
daftshady Dec 16, 2014
f723ab5
Merge pull request #2382 from daftshady/exception
Lukasa Dec 16, 2014
386c589
Merge branch 'master' of https://github.com/ContinuousFunction/reques…
sigmavirus24 Dec 17, 2014
bd3cf95
Fix error handling on Python 3
sigmavirus24 Dec 17, 2014
86c3ecf
Fix bug in renegotiating a nonce with the server
Dec 23, 2014
eccbf4a
Merge pull request #2389 from sigmavirus24/bug/fix-digest-auth
sigmavirus24 Dec 23, 2014
ce5b5fe
Add release notes for 2.5.1
Dec 23, 2014
b831317
Bump version to 2.5.1
Dec 23, 2014
f4ec3d2
Clean up cookie docs and display them.
Lukasa Dec 24, 2014
101425e
Enhance documentation for clarity.
Lukasa Dec 24, 2014
2d1ffad
Merge pull request #2390 from Lukasa/cookiedocs
kennethreitz Dec 24, 2014
892f256
Changing year in all copyright information
shrayasr Jan 1, 2015
7612015
Merge pull request #2395 from shrayasr/happy-new-year
Lukasa Jan 1, 2015
673bd6a
javascripts
kennethreitz Jan 6, 2015
15597c2
Requests Pro
kennethreitz Jan 8, 2015
5549f50
cleanups
kennethreitz Jan 8, 2015
ac34e3b
simpler button
kennethreitz Jan 8, 2015
09658b8
certifi
kennethreitz Jan 8, 2015
176b365
certifi
kennethreitz Jan 8, 2015
b176ccd
drawn towards it rather than pushed away
kennethreitz Jan 8, 2015
a57eacf
Merge pull request #2375 from sigmavirus24/fix-imports-when-unbundled
kennethreitz Jan 9, 2015
d2d576b
Update urllib3 to a27758625e4169330fcf965652b1093faf5aaaa2
sigmavirus24 Jan 10, 2015
751b35c
Attempt to quote anyway if unquoting fails
sigmavirus24 Dec 27, 2014
f37fe55
Remove entirely unnecessary and unused bits from requests.compat
sigmavirus24 Jan 19, 2015
677bbe3
Move noncebit to the only place it is used
sigmavirus24 Jan 20, 2015
eec44db
Check that a filename is a basestring instance
sigmavirus24 Jan 19, 2015
74d85d0
HISTORY: replace n-dash to workaround pip bug
chriskuehl Jan 23, 2015
2f7f6a5
Merge pull request #2420 from chriskuehl/master
Lukasa Jan 23, 2015
cf3a7f4
Merge pull request #2415 from sigmavirus24/bug/2408
kennethreitz Jan 27, 2015
3314eb9
Merge pull request #2413 from sigmavirus24/bug/2411
kennethreitz Jan 27, 2015
383b20b
Merge pull request #2412 from sigmavirus24/remove-cruft
kennethreitz Jan 27, 2015
b137472
Merge pull request #2393 from sigmavirus24/bug/2356
kennethreitz Jan 27, 2015
ff56e43
Update support documentation to be more accurate
sigmavirus24 Jan 28, 2015
02f852c
Add Cory's twitter account
sigmavirus24 Jan 28, 2015
3a5e2b2
Add a missing comma
sigmavirus24 Jan 28, 2015
e644857
Fix typo. Use smaller paragraphs. Add CVE list
sigmavirus24 Jan 29, 2015
69b7c45
Merge pull request #2436 from colindickson/master
Lukasa Feb 3, 2015
53f33eb
quickstart: using a list as a value in query params
tomscytale Feb 3, 2015
c7beb70
Merge pull request #2437 from tomscytale/docs_query_param_array
Lukasa Feb 3, 2015
ced6550
split test_connection_error into two distinct tests, and changed "unk…
colindickson Feb 4, 2015
80aee7a
add a timeout value to connection_error_invalid_port test to accelera…
colindickson Feb 5, 2015
426493f
Merge pull request #2438 from colindickson/master
Lukasa Feb 4, 2015
291b6b2
Update to use readthedocs.org instead of rtfd.org
aquarion Feb 6, 2015
69d9594
Merge pull request #2440 from aquarion/patch-1
sigmavirus24 Feb 6, 2015
b86330d
Update certificate bundle.
Lukasa Feb 10, 2015
a5a314e
Merge pull request #2442 from Lukasa/certs
sigmavirus24 Feb 10, 2015
62df872
Upgrade urllib3 to 490d3a227fadb626cd54a240b9d0922f849914b4
Yasumoto Feb 11, 2015
344b513
Update README to use Shields badges
iKevinY Feb 19, 2015
5a22d20
Merge pull request #2450 from iKevinY/shields-badges
sigmavirus24 Feb 20, 2015
ed73d9e
document combination of repeated response headers
requiredfield Feb 20, 2015
6f3c91b
Merge pull request #2453 from requiredfield/master
Lukasa Feb 21, 2015
0b6d2e4
Merge pull request #2444 from Yasumoto/urllib_upgrade
sigmavirus24 Feb 23, 2015
58e5135
Update urllib3 to 29aa09bde9c42cc9a8d79aac47ee3d362b438cca
sigmavirus24 Feb 23, 2015
d8be247
Update HISTORY and version for v2.5.2
sigmavirus24 Feb 23, 2015
b583181
Revert "Update certificate bundle."
sigmavirus24 Feb 24, 2015
de674fc
Merge pull request #2458 from kennethreitz/revert-2442-certs
Lukasa Feb 24, 2015
628474d
Update HISTORY and release version for 2.5.3
Feb 24, 2015
461b740
Merge pull request #2459 from kennethreitz/release-notes/2.5.3
Lukasa Feb 24, 2015
6ea3f2a
Only alias the imports for vendored dependencies
sigmavirus24 Mar 1, 2015
9d8a57f
Add a test to ensure the alias does not regress
sigmavirus24 Mar 1, 2015
2669f0c
Fix when packages are unvendored
sigmavirus24 Mar 1, 2015
11b12c3
models.RequestEncodingMixin._encode_files now takes bytearray as fp i…
scholer Mar 3, 2015
326f77d
Created test case for using bytes and bytearray objects with files ar…
scholer Mar 3, 2015
1887f32
test_can_send_bytes_bytearray_objects_with_files test now uses string…
scholer Mar 3, 2015
61f4faa
Merge pull request #2468 from scholer/master
sigmavirus24 Mar 3, 2015
39e49e5
Merge pull request #2466 from sigmavirus24/bug/2465
sigmavirus24 Mar 4, 2015
e7ac8ea
Add PGP Key fingerprints
sigmavirus24 Mar 4, 2015
ec700a9
Avoid duplicating files data when creating a Request with str/bytes/b…
scholer Mar 4, 2015
bcfcd9f
Add Lukasa's GPG key fingerprint.
Lukasa Mar 4, 2015
c53aa08
Merge pull request #2429 from kennethreitz/sigmavirus24/docs/support
sigmavirus24 Mar 4, 2015
62200cb
Add testcase to demonstrate r.iter_lines() reentrancy issue
plaes Mar 7, 2015
4497a26
Document Response.iter_lines() reentrancy issues
plaes Mar 7, 2015
14b653a
Merge pull request #2478 from plaes/iter-lines
Lukasa Mar 7, 2015
a0790f3
Update urllib3 to 43b5b2b452e4344374de7d08ececcca495079b8d
sigmavirus24 Mar 11, 2015
9adaae6
Merge pull request #2482 from sigmavirus24/update-urllib3
sigmavirus24 Mar 11, 2015
c4bd6ea
Import urllib3's Retry location from the right place
sigmavirus24 Mar 12, 2015
bc746e1
Merge pull request #2485 from sigmavirus24/bug/shazow/urllib3/567
Lukasa Mar 12, 2015
1acc499
Parse version number out of requests/__init__.py
sigmavirus24 Mar 14, 2015
3bd8afb
Don't ascribe cookies to the target domain.
Lukasa Mar 14, 2015
573d460
Add return type field to entry-point docstrings
ulope Mar 12, 2015
76f7ce8
Merge pull request #2487 from ulope/return_type
Lukasa Mar 14, 2015
8a2fd7c
Merge pull request #2486 from sigmavirus24/bug/2462
Lukasa Mar 14, 2015
f7c8568
Add explanatory comment for cookie change
Lukasa Mar 14, 2015
e776bb2
Merge pull request #2489 from Lukasa/cookiebad
sigmavirus24 Mar 14, 2015
bbbd9de
Merge pull request #2472 from scholer/master
sigmavirus24 Mar 14, 2015
80a3e87
Bump version and add release notes for 2.6.0
sigmavirus24 Mar 14, 2015
fa338da
Merge pull request #2492 from sigmavirus24/release/v2.6.0
sigmavirus24 Mar 14, 2015
7d0f4f3
:Merge branch 'migrate_to_2_6'
uve Mar 1, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,6 @@ Patches and Suggestions
- Martin Jul (`@mjul <https://github.com/mjul>`_)
- Joe Alcorn (`@buttscicles <https://github.com/buttscicles>`_)
- Syed Suhail Ahmed <ssuhail.ahmed93@gmail.com> (`@syedsuhail <https://github.com/syedsuhail>`_)
- Scott Sadler (`@ssadler <https://github.com/ssadler>`_)
- Arthur Darcet (`@arthurdarcet <https://github.com/arthurdarcet>`_)
- Ulrich Petri (`@ulope <https://github.com/ulope>`_)
137 changes: 122 additions & 15 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,138 @@
Release History
---------------

2.4.3.4 (2014-11-06) Rebelmouse
+++++++++++++++++++++++++++++++
- small refactoring SysCallError treatment
2.6.0 (2015-03-14)
++++++++++++++++++

**Bugfixes**

- Fix handling of cookies on redirect. Previously a cookie without a host
value set would use the hostname for the redirected URL exposing requests
users to session fixation attacks and potentially cookie stealing. This was
disclosed privately by Matthew Daley of `BugFuzz <https://bugfuzz.com>`_.
An CVE identifier has not yet been assigned for this. This affects all
versions of requests from v2.1.0 to v2.5.3 (inclusive on both ends).

- Fix error when requests is an ``install_requires`` dependency and ``python
setup.py test`` is run. (#2462)

- Fix error when urllib3 is unbundled and requests continues to use the
vendored import location.

- Include fixes to ``urllib3``'s header handling.

- Requests' handling of unvendored dependencies is now more restrictive.

**Features and Improvements**

- Support bytearrays when passed as parameters in the ``files`` argument.
(#2468)

- Avoid data duplication when creating a request with ``str``, ``bytes``, or
``bytearray`` input to the ``files`` argument.

2.5.3 (2015-02-24)
++++++++++++++++++

**Bugfixes**

- Revert changes to our vendored certificate bundle. For more context see
(#2455, #2456, and http://bugs.python.org/issue23476)

2.5.2 (2015-02-23)
++++++++++++++++++

**Features and Improvements**

- Add sha256 fingerprint support. (`shazow/urllib3#540`_)

- Improve the performance of headers. (`shazow/urllib3#544`_)

**Bugfixes**

- Copy pip's import machinery. When downstream redistributors remove
requests.packages.urllib3 the import machinery will continue to let those
same symbols work. Example usage in requests' documentation and 3rd-party
libraries relying on the vendored copies of urllib3 will work without having
to fallback to the system urllib3.

- Attempt to quote parts of the URL on redirect if unquoting and then quoting
fails. (#2356)

- Fix filename type check for multipart form-data uploads. (#2411)

- Properly handle the case where a server issuing digest authentication
challenges provides both auth and auth-int qop-values. (#2408)

- Fix a socket leak. (`shazow/urllib3#549`_)

- Fix multiple ``Set-Cookie`` headers properly. (`shazow/urllib3#534`_)

- Disable the built-in hostname verification. (`shazow/urllib3#526`_)

- Fix the behaviour of decoding an exhausted stream. (`shazow/urllib3#535`_)

**Security**

- Pulled in an updated ``cacert.pem``.

- Drop RC4 from the default cipher list. (`shazow/urllib3#551`_)

2.4.3.3 (2014-11-06) Rebelmouse
+++++++++++++++++++++++++++++++
- SysCallError is handled as SSLError exception
.. _shazow/urllib3#551: https://github.com/shazow/urllib3/pull/551
.. _shazow/urllib3#549: https://github.com/shazow/urllib3/pull/549
.. _shazow/urllib3#544: https://github.com/shazow/urllib3/pull/544
.. _shazow/urllib3#540: https://github.com/shazow/urllib3/pull/540
.. _shazow/urllib3#535: https://github.com/shazow/urllib3/pull/535
.. _shazow/urllib3#534: https://github.com/shazow/urllib3/pull/534
.. _shazow/urllib3#526: https://github.com/shazow/urllib3/pull/526

2.5.1 (2014-12-23)
++++++++++++++++++

**Behavioural Changes**

- Only catch HTTPErrors in raise_for_status (#2382)

2.4.3.2 (2014-10-4) Rebelmouse
+++++++++++++++++++++++++++++++
**Bugfixes**

- Raise a requests' exception when occurs 104 - Connection reset by peer
- Handle LocationParseError from urllib3 (#2344)
- Handle file-like object filenames that are not strings (#2379)
- Unbreak HTTPDigestAuth handler. Allow new nonces to be negotiated (#2389)

2.5.0 (2014-12-01)
++++++++++++++++++

2.4.3.1 (2014-10-24) Rebelmouse
+++++++++++++++++++++++++++++++
**Improvements**

- Added libs to requirements.txt for SSL SNI support
- Allow usage of urllib3's Retry object with HTTPAdapters (#2216)
- The ``iter_lines`` method on a response now accepts a delimiter with which
to split the content (#2295)

**Behavioural Changes**

- Add deprecation warnings to functions in requests.utils that will be removed
in 3.0 (#2309)
- Sessions used by the functional API are always closed (#2326)
- Restrict requests to HTTP/1.1 and HTTP/1.0 (stop accepting HTTP/0.9) (#2323)

**Bugfixes**

- Handhshake ssl hangs forever - Gevent/Eventlet enviorments only
- ZeroReturnerror exception is handled properly.
- Only parse the URL once (#2353)
- Allow Content-Length header to always be overriden (#2332)
- Properly handle files in HTTPDigestAuth (#2333)
- Cap redirect_cache size to prevent memory abuse (#2299)
- Fix HTTPDigestAuth handling of redirects after authenticating successfully
(#2253)
- Fix crash with custom method parameter to Session.request (#2317)
- Fix how Link headers are parsed using the regular expression library (#2271)

**Documentation**

- Add more references for interlinking (#2348)
- Update CSS for theme (#2290)
- Update width of buttons and sidebar (#2289)
- Replace references of Gittip with Gratipay (#2282)
- Add link to changelog in sidebar (#2273)

2.4.3 (2014-10-06)
++++++++++++++++++
Expand Down Expand Up @@ -81,7 +188,7 @@ Release History
- Support for connect timeouts! Timeout now accepts a tuple (connect, read) which is used to set individual connect and read timeouts.
- Allow copying of PreparedRequests without headers/cookies.
- Updated bundled urllib3 version.
- Refactored settings loading from environment new `Session.merge_environment_settings`.
- Refactored settings loading from environment -- new `Session.merge_environment_settings`.
- Handle socket errors in iter_content.


Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2014 Kenneth Reitz
Copyright 2015 Kenneth Reitz

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Requests: HTTP for Humans
=========================

.. image:: https://badge.fury.io/py/requests.png
:target: http://badge.fury.io/py/requests
.. image:: https://img.shields.io/pypi/v/requests.svg
:target: https://pypi.python.org/pypi/requests

.. image:: https://pypip.in/d/requests/badge.png
:target: https://crate.io/packages/requests/
.. image:: https://img.shields.io/pypi/dm/requests.svg
:target: https://pypi.python.org/pypi/requests


Requests is an Apache2 Licensed HTTP library, written in Python, for human
Expand All @@ -19,7 +19,7 @@ perform the simplest of tasks.

Things shouldn't be this way. Not in Python.

.. code-block:: pycon
.. code-block:: python

>>> r = requests.get('https://api.github.com', auth=('user', 'pass'))
>>> r.status_code
Expand Down
17 changes: 8 additions & 9 deletions docs/_templates/sidebarintro.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@
</p>


<h3>Donate</h3>
<p>
If you love Requests, consider supporting the author <a href="https://gratipay.com/kennethreitz/">on Gratipay</a>:
</p>
<p>
<iframe style="border: 0; margin: 0; padding: 0;"
src="https://www.gratipay.com/kennethreitz/widget.html"
width="80pt" height="20pt"></iframe>
</p>
<p>
<a href="https://gumroad.com/l/RRZc" class="gumroad-button">Buy Requests Pro</a>
</p>


<h3>Get Updates</h3>
Expand All @@ -46,6 +40,11 @@ <h3>Translations</h3>

<h3>Useful Links</h3>
<ul>
<li><a href="http://certifi.io/en/latest/">Certifi: Best CA Bundle</a></li>
<li><a href="https://github.com/sigmavirus24/requests-toolbelt">Requests-Toolbelt</a></li>

<p></p>

<li><a href="http://github.com/kennethreitz/requests">Requests @ GitHub</a></li>
<li><a href="http://pypi.python.org/pypi/requests">Requests @ PyPI</a></li>
<li><a href="http://github.com/kennethreitz/requests/issues">Issue Tracker</a></li>
Expand Down
13 changes: 3 additions & 10 deletions docs/_templates/sidebarlogo.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,9 @@
development release.
</p>


<h3>Donate</h3>
<p>
If you love Requests, consider supporting the author <a href="https://www.gratipay.com/kennethreitz/">on Gittip</a>:
</p>
<p>
<iframe style="border: 0; margin: 0; padding: 0;"
src="https://www.gratipay.com/kennethreitz/widget.html"
width="80pt" height="20pt"></iframe>
</p>
<p>
<a href="https://gumroad.com/l/RRZc" class="gumroad-button">Buy Requests Pro</a>
</p>

<h3>Get Updates</h3>
<p>Receive updates on new releases and upcoming projects.</p>
Expand Down
13 changes: 13 additions & 0 deletions docs/_themes/kr/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<a href="https://github.com/kennethreitz/requests" class="github">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>
</a>

<script type="text/javascript" src="https://gumroad.com/js/gumroad.js"></script>

<script type="text/javascript">
/* <![CDATA[ */
(function() {
Expand Down Expand Up @@ -68,5 +71,15 @@
})();
</script>

<script type="text/javascript">
(function() {
window._pa = window._pa || {};
_pa.productId = "requests-docs";
var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;
pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.perfectaudience.com/serve/5226171f87bc6890da0000a0.js";
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);
})();
</script>


{%- endblock %}
6 changes: 6 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ Cookies
.. autofunction:: requests.utils.cookiejar_from_dict
.. autofunction:: requests.utils.add_dict_to_cookiejar

.. autoclass:: requests.cookies.RequestsCookieJar
:inherited-members:

.. autoclass:: requests.cookies.CookieConflictError
:inherited-members:


Encodings
~~~~~~~~~
Expand Down
54 changes: 52 additions & 2 deletions docs/community/support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,57 @@ Support

If you have questions or issues about Requests, there are several options:

StackOverflow
-------------

If your question does not contain sensitive (possibly proprietary)
information or can be properly anonymized, please ask a question on
`StackOverflow <https://stackoverflow.com/questions/tagged/python-requests>`_
and use the tag ``python-requests``.

Send a Tweet
------------

If your question is less than 140 characters, feel free to send a tweet to
`@kennethreitz <http://twitter.com/kennethreitz>`_.
`@kennethreitz <https://twitter.com/kennethreitz>`_,
`@sigmavirus24 <https://twitter.com/sigmavirus24>`_, or
`@lukasaoz <https://twitter.com/lukasaoz>`_.

Vulnerability Disclosure
------------------------

If you think you have found a potential security vulnerability in requests,
please email `sigmavirus24 <mailto:graffatcolmingov@gmail.com>`_ and
`Lukasa <mailto:cory@lukasa.co.uk>`_ directly. **Do not file a public issue.**

Our PGP Key fingerprints are:

- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)

- 90DC AE40 FEA7 4B14 9B70 662D F25F 2144 EEC1 373D (@lukasa)

If English is not your first language, please try to describe the problem and
its impact to the best of your ability. For greater detail, please use your native
language and we will try our best to translate it using online services.

Please also include the code you used to find the problem and the shortest amount
of code necessary to reproduce it.

Please do not disclose this to anyone else. We will retrieve a CVE identifier if
necessary and give you full credit under whatever name or alias you provide.
We will only request an identifier when we have a fix and can publish it in a release.

We will respect your privacy and will only publicize your involvement if you grant
us permission.

Previous CVEs
~~~~~~~~~~~~~

- Fixed in 2.3.0

- `CVE 2014-1829 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1829>`_

- `CVE 2014-1830 <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=2014-1830>`_

File an Issue
-------------
Expand All @@ -34,4 +79,9 @@ IRC
The official Freenode channel for Requests is
`#python-requests <irc://irc.freenode.net/python-requests>`_

I'm also available as **kennethreitz** on Freenode.
The core developers of requests are on IRC throughout the day.
You can find them in ``#python-requests`` as:

- kennethreitz
- lukasa
- sigmavirus24
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

# General information about the project.
project = u'Requests'
copyright = u'2014. A <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> Project'
copyright = u'2015. A <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> Project'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
Loading