Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: fix 404ing /advanced/#<anchor> links -> /advanced/clients/#<anchor> #3123

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions httpx/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def build_request(

See also: [Request instances][0]

[0]: /advanced/#request-instances
[0]: /advanced/clients/#request-instances
"""
url = self._merge_url(url)
headers = self._merge_headers(headers)
Expand Down Expand Up @@ -812,7 +812,7 @@ def request(
[Merging of configuration][0] for how the various parameters
are merged with client-level configuration.

[0]: /advanced/#merging-of-configuration
[0]: /advanced/clients/#merging-of-configuration
"""
if cookies is not None:
message = (
Expand Down Expand Up @@ -908,7 +908,7 @@ def send(

See also: [Request instances][0]

[0]: /advanced/#request-instances
[0]: /advanced/clients/#request-instances
"""
if self._state == ClientState.CLOSED:
raise RuntimeError("Cannot send a request, as the client has been closed.")
Expand Down Expand Up @@ -1560,7 +1560,7 @@ async def request(
and [Merging of configuration][0] for how the various parameters
are merged with client-level configuration.

[0]: /advanced/#merging-of-configuration
[0]: /advanced/clients/#merging-of-configuration
"""

if cookies is not None: # pragma: no cover
Expand Down Expand Up @@ -1657,7 +1657,7 @@ async def send(

See also: [Request instances][0]

[0]: /advanced/#request-instances
[0]: /advanced/clients/#request-instances
"""
if self._state == ClientState.CLOSED:
raise RuntimeError("Cannot send a request, as the client has been closed.")
Expand Down