Skip to content
Myr

Merge pull request #1466 from s7v7nislands/fix_doc

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix doc

authored by Cory Benfield · committed by Cory Benfield · parents 3229365, 39ad5e7 · Browse files · 3 files+4 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+4 added−9 removed

  • other:+4 added−9 removed

3 files+4 added−9 removed

modified:docs/dev/todo.rst+1 added-1 removed
53 unmodified lines
5455- SPDY support would be awesome. No C extensions.5657Downstream Repackaging58--------------------58----------------------5960If you are repackaging Requests, please note that you must also redistribute the ``cacerts.pem`` file in order to get correct SSL functionality.
modified:docs/user/intro.rst+1 added-1 removed
18 unmodified lines
1920.. _`apache2`:2122Apache2 License23-----------23---------------2425A large number of open source projects you find today are `GPL Licensed`_.26While the GPL has its time and place, it should most certainly not be your27go-to license for your next open source project.
18 unmodified lines
modified:docs/user/quickstart.rst+2 added-7 removed
67 unmodified lines
6869You can see that the URL has been correctly encoded by printing the URL::7071 >>> print r.url72 u'http://httpbin.org/get?key2=value2&key1=value1'72 http://httpbin.org/get?key2=value2&key1=value17374Note that any dictionary key whose value is ``None`` will not be added to the75URL's query string.76
6 unmodified lines
8384 >>> import requests85 >>> r = requests.get('https://github.com/timeline.json')86 >>> r.text87 '[{"repository":{"open_issues":0,"url":"https://github.com/...87 u'[{"repository":{"open_issues":0,"url":"https://github.com/...8889Requests will automatically decode content from the server. Most unicode90charsets are seamlessly decoded.91
220 unmodified lines
312313 >>> r.headers.get('content-type')314 'application/json; charset=utf-8'315316If a header doesn't exist in the Response, its value defaults to ``None``::316318 >>> r.headers['X-Random']319 None320321317Cookies318-------319320If a response contains some Cookies, you can get quick access to them::
96 unmodified lines