Skip to content
Myr

Merge pull request #6951 from tswast/patch-1

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

authored by Nate Prewitt · committed by GitHub · parents c65c780, 6716d7c · Browse files · 3 files+13 added−18 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+13 added−18 removed

  • other:+13 added−18 removed

3 files+13 added−18 removed

modified:docs/dev/contributing.rst+9 added-11 removed
20 unmodified lines
21The guide is split into sections based on the type of contribution you're22thinking of making, with a section that covers general guidelines for all23contributors.2425Be Cordial26----------25Code of Conduct26---------------2728 **Be cordial or be on your way**. *—Kenneth Reitz*28The Python community is made up of members from around the globe with a diverse29set of skills, personalities, and experiences. It is through these differences30that our community experiences great successes and continued growth. When you're31working with members of the community, follow the32`Python Software Foundation Code of Conduct`_ to help steer your interactions33and keep Python a positive, successful, and growing community.3430Requests has one very important rule governing all forms of contribution,31including reporting bugs or requesting features. This golden rule is32"`be cordial or be on your way`_".35.. _Python Software Foundation Code of Conduct: https://policies.python.org/python.org/code-of-conduct/3634**All contributions are welcome**, as long as35everyone involved is treated with respect.3637.. _be cordial or be on your way: https://kenreitz.org/essays/2013/01/27/be-cordial-or-be-on-your-way3837.. _early-feedback:3839Get Early Feedback40------------------
125 unmodified lines
modified:docs/user/advanced.rst+3 added-6 removed
967 unmodified lines
968969Transport Adapters970------------------971972As of v1.0.0, Requests has moved to a modular internal design. Part of the973reason this was done was to implement Transport Adapters, originally974`described here`_. Transport Adapters provide a mechanism to define interaction975methods for an HTTP service. In particular, they allow you to apply per-service976configuration.972As of v1.0.0, Requests has moved to a modular internal design using Transport973Adapters. These objects provide a mechanism to define interaction methods for an974HTTP service. In particular, they allow you to apply per-service configuration.975976Requests ships with a single Transport Adapter, the :class:`HTTPAdapter977<requests.adapters.HTTPAdapter>`. This adapter provides the default Requests978interaction with HTTP and HTTPS using the powerful `urllib3`_ library. Whenever
71 unmodified lines
1050 allowed_methods={'POST'},1051 )1052 s.mount('https://', HTTPAdapter(max_retries=retries))10531056.. _`described here`: https://kenreitz.org/essays/2012/06/14/the-future-of-python-http1054.. _`urllib3`: https://github.com/urllib3/urllib31055.. _`urllib3.util.Retry`: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html#urllib3.util.Retry10561057.. _blocking-or-nonblocking:
81 unmodified lines
modified:docs/conf.py+1 added-1 removed
56 unmodified lines
57master_doc = "index"5859# General information about the project.60project = u"Requests"61copyright = u'MMXVIX. A <a href="https://kenreitz.org/projects">Kenneth Reitz</a> Project'61copyright = u'MMXVIX. A Kenneth Reitz Project'62author = u"Kenneth Reitz"6364# The version info for the project you're documenting, acts as replacement for65# |version| and |release|, also used in various other places throughout the
321 unmodified lines