Skip to content

Commit

Permalink
Update homepage/doc URLs of requests library
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan authored and jamielennox committed Aug 30, 2022
1 parent 0aeaecd commit 6f639fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.

.. _requests: http://python-requests.org
.. _requests: https://requests.readthedocs.io
.. _docs: https://requests-mock.readthedocs.io/
.. _GitHub: https://github.com/jamielennox/requests-mock
.. _StackOverflow: https://stackoverflow.com/questions/tagged/requests-mock
2 changes: 1 addition & 1 deletion doc/source/adapter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ If you are not familiar with adapters, prefer the mocker approach (see :ref:`Moc

At this point any requests made by the session to a URI starting with `mock://` will be sent to our adapter.

.. _requests: http://python-requests.org
.. _requests: https://requests.readthedocs.io
.. _transport adapter: https://requests.readthedocs.io/en/master/user/advanced/#transport-adapters
.. _mount: https://requests.readthedocs.io/en/master/api/#requests.Session.mount
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False

requests_uri = 'http://docs.python-requests.org/en/latest/'
requests_uri = 'https://requests.readthedocs.io/en/latest/'
urllib3_uri = 'https://urllib3.readthedocs.io/en/latest/'
python_uri = 'https://docs.python.org/3/'
intersphinx_mapping = {'requests': (requests_uri, None),
Expand Down
4 changes: 2 additions & 2 deletions doc/source/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ This is particularly useful in unit tests where you want to return known respons
As the `requests`_ library has very limited options for how to load and use adapters *requests-mock* also provides a number of ways to make sure the mock adapter is used.
These are only loading mechanisms, they do not contain any logic and can be used as a reference to load the adapter in whatever ways works best for your project.

.. _requests: http://python-requests.org
.. _pluggable transport adapters: http://docs.python-requests.org/en/latest/user/advanced/#transport-adapters
.. _requests: https://requests.readthedocs.io
.. _pluggable transport adapters: https://requests.readthedocs.io/en/latest/user/advanced/#transport-adapters

Installation
============
Expand Down

0 comments on commit 6f639fe

Please sign in to comment.