Skip to content

Commit c5af270

Browse files
authored
Merge pull request #3059 from n0h0/fix-python-requests-link
docs: update python-requests documentation links
2 parents d01765d + 6335881 commit c5af270

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: docs/increase-performance.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Increase performance with a faster HTTP client
55
==============================================================
66

7-
Locust's default HTTP client uses `python-requests <http://www.python-requests.org/>`_.
7+
Locust's default HTTP client uses `python-requests <https://requests.readthedocs.io/>`_.
88
It provides a nice API that many python developers are familiar with, and is very well-maintained. But if you're planning to run tests with very high throughput and have limited hardware for running Locust, it is sometimes not efficient enough.
99

1010
Because of this, Locust also comes with :py:class:`FastHttpUser <locust.contrib.fasthttp.FastHttpUser>` which

Diff for: docs/running-in-debugger.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Print HTTP communication
5757

5858
Sometimes it can be hard to understand why an HTTP request fails in Locust when it works from a regular browser/other application. Here's how to examine the communication in detail:
5959

60-
For ``HttpUser`` (`python-requests <https://python-requests.org>`_):
60+
For ``HttpUser`` (`python-requests <https://requests.readthedocs.io/>`_):
6161

6262
.. code-block:: python
6363

Diff for: locust/clients.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class HttpSession(requests.Session):
6868
to be able to log in and out of websites). Each request is logged so that locust can display
6969
statistics.
7070
71-
This is a slightly extended version of `python-request <http://python-requests.org>`_'s
71+
This is a slightly extended version of `python-request <https://requests.readthedocs.io/>`_'s
7272
:py:class:`requests.Session` class and mostly this class works exactly the same. However
7373
the methods for making requests (get, post, delete, put, head, options, patch, request)
7474
can now take a *url* argument that's only the path part of the URL, in which case the host

0 commit comments

Comments
 (0)