Skip to content
Myr

Grammar fixes and such

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

authored by Kwpolska · committed by Kwpolska · parent ca033b8 · Browse files · 5 files+9 added−8 removed
This commit

State

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

Trailers

  • Signed-off-by: Kwpolska <kwpolska@gmail.com>

Diff stats

5 files+9 added−8 removed

  • other:+9 added−8 removed

5 files+9 added−8 removed

modified:docs/dev/todo.rst+1 added-1 removed
4 unmodified lines
56#. Check for open issues or open a fresh issue to start a discussion around a bug.7 There is a Contributor Friendly tag for issues that should be ideal for people who are not very8 familiar with the codebase yet.9#. Fork `the repository <https://github.com/kennethreitz/requests>`_ on Github and start making your9#. Fork `the repository <https://github.com/kennethreitz/requests>`_ on GitHub and start making your10 changes to a new branch.11#. Write a test which shows that the bug was fixed.12#. Send a pull request and bug the maintainer until it gets merged and published. :)13 Make sure to add yourself to `AUTHORS <https://github.com/kennethreitz/requests/blob/master/AUTHORS.rst>`_.
47 unmodified lines
modified:docs/user/advanced.rst+1 added-1 removed
118 unmodified lines
119120 >>> requests.get('https://kennethreitz.com', verify=True)121 requests.exceptions.SSLError: hostname 'kennethreitz.com' doesn't match either of '*.herokuapp.com', 'herokuapp.com'122123I don't have SSL setup on this domain, so it fails. Excellent. Github does though::123I don't have SSL setup on this domain, so it fails. Excellent. GitHub does though::124125 >>> requests.get('https://github.com', verify=True)126 <Response [200]>127
467 unmodified lines
modified:docs/user/authentication.rst+1 added-1 removed
85 unmodified lines
86- Kerberos_87- NTLM_8889If you want to use any of these forms of authentication, go straight to their90Github page and follow the instructions.90GitHub page and follow the instructions.919293New Forms of Authentication94---------------------------
20 unmodified lines
modified:docs/user/quickstart.rst+5 added-4 removed
341 unmodified lines
342Requests will automatically perform location redirection while using the GET343and OPTIONS verbs.344345GitHub redirects all HTTP requests to HTTPS. We can use the ``history`` method346of the Response object to track redirection. Let's see what Github does::346of the Response object to track redirection. Let's see what GitHub does::347348 >>> r = requests.get('http://github.com')349 >>> r.url350 'https://github.com/'
1 unmodified line
352 200353 >>> r.history354 [<Response [301]>]355356The :class:`Response.history` list contains a list of the357:class:`Request` objects that were created in order to complete the request. The list is sorted from the oldest to the most recent request.356The :class:`Response.history` list contains the :class:`Request` objects that357were created in order to complete the request. The list is sorted from the358oldest to the most recent request.359360If you're using GET or OPTIONS, you can disable redirection handling with the361``allow_redirects`` parameter::362
26 unmodified lines
389390391.. admonition:: Note:392392 ``timeout`` only effects the connection process itself, not the393 ``timeout`` only affects the connection process itself, not the394 downloading of the response body.395396397Errors and Exceptions
20 unmodified lines
modified:README.rst+1 added-1 removed
82 unmodified lines
83Contribute84----------8586#. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.87#. Fork `the repository`_ on Github to start making your changes to the **master** branch (or branch off of it).87#. Fork `the repository`_ on GitHub to start making your changes to the **master** branch (or branch off of it).88#. Write a test which shows that the bug was fixed or that the feature works as expected.89#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.9091.. _`the repository`: http://github.com/kennethreitz/requests
1 unmodified line