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 @@

  • Requests @ GitHub
  • -
  • Requests @ PyPI
  • +
  • Requests @ PyPI
  • Issue Tracker
  • Release History
  • 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 `) .. 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 ` attribute. Requests will first check for an encoding in the HTTP header, and if none is present, will use `chardet -`_ to attempt to guess the encoding. +`_ 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``