diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-04-18 20:28:19 -0700 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-04-18 20:28:19 -0700 |
| commit | 165804b25e270ae5668d605aafaec15256e93dcf (patch) | |
| tree | 9aee4837a0094ca25c3ef93ae1d29144afd8fdcd /docs/user | |
| parent | b66908e7b647689793e299edc111bf9910e93ad3 (diff) | |
| download | python-requests-165804b25e270ae5668d605aafaec15256e93dcf.tar.gz | |
Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
Diffstat (limited to 'docs/user')
| -rw-r--r-- | docs/user/advanced.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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`` |
