Skip to content
Myr

Trim trialing white space throughout the project

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

Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines.

authored by Jon Dufresne · committed by Jon Dufresne · parent 8da118d · Browse files · 8 files+7 added−16 removed
This commit

State

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

Diff stats

8 files+7 added−16 removed

  • other:+7 added−16 removed

8 files+7 added−16 removed

modified:docs/_templates/sidebarintro.html-1 removed
modified:docs/_templates/sidebarlogo.html-1 removed
modified:docs/community/recommended.rst-3 removed
60 unmodified lines
61`Betamax`_ records your HTTP interactions so the NSA does not have to.62A VCR imitation designed only for Python-Requests.6364.. _betamax: https://github.com/sigmavirus24/betamax656667
modified:docs/community/updates.rst-1 removed
27 unmodified lines
28Release and Version History29===========================3031.. include:: ../../HISTORY.rst32
modified:docs/dev/todo.rst-1 removed
60 unmodified lines
61Google AppEngine is not officially supported although support is available62with the `Requests-Toolbelt`_.6364.. _Requests-Toolbelt: https://toolbelt.readthedocs.io/65
modified:docs/user/advanced.rst+5 added-5 removed
194 unmodified lines
195As a result an ``SSL: CERTIFICATE_VERIFY_FAILED`` is thrown.196You can get around this behaviour by explicity merging the environment settings into your session::197198 from requests import Request, Session199 199200 s = Session()201 req = Request('GET', url)202 202203 prepped = s.prepare_request(req)204 204205 # Merge environment settings into session206 settings = s.merge_environment_settings(prepped.url, None, None, None, None)207 resp = s.send(prepped, **settings)208 208209 print(resp.status_code)210 210211.. _verification:212213SSL Cert Verification214---------------------
822 unmodified lines
modified:docs/index.rst+2 added-2 removed
28 unmodified lines
29consumption.3031.. note:: The use of **Python 3** is *highly* preferred over Python 2. Consider upgrading your applications and infrastructure if you find yourself *still* using Python 2 in production today. If you are using Python 3, congratulations — you are indeed a person of excellent taste.32 —*Kenneth Reitz*33 34 333435-------------------3637**Behold, the power of Requests**::38
133 unmodified lines
modified:.travis.yml-2 removed