diff options
| author | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | 2018-04-19 05:41:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-19 05:41:37 -0500 |
| commit | 2de907ad778de270911acaffe93883f0e2729a4a (patch) | |
| tree | 9aee4837a0094ca25c3ef93ae1d29144afd8fdcd | |
| parent | b66908e7b647689793e299edc111bf9910e93ad3 (diff) | |
| parent | 165804b25e270ae5668d605aafaec15256e93dcf (diff) | |
| download | python-requests-2de907ad778de270911acaffe93883f0e2729a4a.tar.gz | |
Merge pull request #4596 from jdufresne/pypi
Update all pypi.python.org URLs to pypi.org
| -rw-r--r-- | Pipfile | 2 | ||||
| -rw-r--r-- | README.rst | 6 | ||||
| -rw-r--r-- | docs/_templates/sidebarintro.html | 2 | ||||
| -rw-r--r-- | docs/index.rst | 6 | ||||
| -rw-r--r-- | docs/user/advanced.rst | 2 |
5 files changed, 9 insertions, 9 deletions
@@ -1,5 +1,5 @@ [[source]] -url = "https://pypi.python.org/simple" +url = "https://pypi.org/simple/" verify_ssl = true [dev-packages] @@ -2,13 +2,13 @@ Requests: HTTP for Humans ========================= .. image:: https://img.shields.io/pypi/v/requests.svg - :target: https://pypi.python.org/pypi/requests + :target: https://pypi.org/project/requests/ .. image:: https://img.shields.io/pypi/l/requests.svg - :target: https://pypi.python.org/pypi/requests + :target: https://pypi.org/project/requests/ .. image:: https://img.shields.io/pypi/pyversions/requests.svg - :target: https://pypi.python.org/pypi/requests + :target: https://pypi.org/project/requests/ .. image:: https://codecov.io/github/requests/requests/coverage.svg?branch=master :target: https://codecov.io/github/requests/requests diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html index 047e6524..bdb1c024 100644 --- a/docs/_templates/sidebarintro.html +++ b/docs/_templates/sidebarintro.html @@ -51,7 +51,7 @@ <p></p> <li><a href="https://github.com/requests/requests">Requests @ GitHub</a></li> - <li><a href="https://pypi.python.org/pypi/requests">Requests @ PyPI</a></li> + <li><a href="https://pypi.org/project/requests/">Requests @ PyPI</a></li> <li><a href="https://github.com/requests/requests/issues">Issue Tracker</a></li> <li><a href="http://docs.python-requests.org/en/latest/community/updates/#software-updates">Release History</a></li> </ul> diff --git a/docs/index.rst b/docs/index.rst index bd9aded2..918e2dcf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -9,13 +9,13 @@ Requests: HTTP for Humans Release v\ |version|. (:ref:`Installation <install>`) .. image:: https://img.shields.io/pypi/l/requests.svg - :target: https://pypi.python.org/pypi/requests + :target: https://pypi.org/project/requests/ .. image:: https://img.shields.io/pypi/wheel/requests.svg - :target: https://pypi.python.org/pypi/requests + :target: https://pypi.org/project/requests/ .. image:: https://img.shields.io/pypi/pyversions/requests.svg - :target: https://pypi.python.org/pypi/requests + :target: https://pypi.org/project/requests/ .. image:: https://codecov.io/github/requests/requests/coverage.svg?branch=master :target: https://codecov.io/github/requests/requests diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index e5f7f297..a7c0f667 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -656,7 +656,7 @@ When you receive a response, Requests makes a guess at the encoding to use for decoding the response when you access the :attr:`Response.text <requests.Response.text>` attribute. Requests will first check for an encoding in the HTTP header, and if none is present, will use `chardet -<https://pypi.python.org/pypi/chardet>`_ to attempt to guess the encoding. +<https://pypi.org/project/chardet/>`_ to attempt to guess the encoding. The only time Requests will not do this is if no explicit charset is present in the HTTP headers **and** the ``Content-Type`` |
