summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stapleton Cordasco <graffatcolmingov@gmail.com>2018-04-19 05:41:37 -0500
committerGitHub <noreply@github.com>2018-04-19 05:41:37 -0500
commit2de907ad778de270911acaffe93883f0e2729a4a (patch)
tree9aee4837a0094ca25c3ef93ae1d29144afd8fdcd
parentb66908e7b647689793e299edc111bf9910e93ad3 (diff)
parent165804b25e270ae5668d605aafaec15256e93dcf (diff)
downloadpython-requests-2de907ad778de270911acaffe93883f0e2729a4a.tar.gz
Merge pull request #4596 from jdufresne/pypi
Update all pypi.python.org URLs to pypi.org
-rw-r--r--Pipfile2
-rw-r--r--README.rst6
-rw-r--r--docs/_templates/sidebarintro.html2
-rw-r--r--docs/index.rst6
-rw-r--r--docs/user/advanced.rst2
5 files changed, 9 insertions, 9 deletions
diff --git a/Pipfile b/Pipfile
index 716c0058..51e8e846 100644
--- a/Pipfile
+++ b/Pipfile
@@ -1,5 +1,5 @@
[[source]]
-url = "https://pypi.python.org/simple"
+url = "https://pypi.org/simple/"
verify_ssl = true
[dev-packages]
diff --git a/README.rst b/README.rst
index c7b033be..d65fd947 100644
--- a/README.rst
+++ b/README.rst
@@ -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``