Skip to content
Myr

Update /advanced/#<anchor> links -> /advanced/clients/#<anchor> (#3123)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nick Cameron · committed by GitHub · parent 6d852d3 · Browse files · 1 file+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−5 removed

  • other:+5 added−5 removed

1 file+5 added−5 removed

modified:httpx/_client.py+5 added-5 removed
340 unmodified lines
341 * The `url` argument is merged with any `base_url` set on the client.342343 See also: [Request instances][0]344345 [0]: /advanced/#request-instances345 [0]: /advanced/clients/#request-instances346 """347 url = self._merge_url(url)348 headers = self._merge_headers(headers)349 cookies = self._merge_cookies(cookies)
461 unmodified lines
811 See `Client.build_request()`, `Client.send()` and812 [Merging of configuration][0] for how the various parameters813 are merged with client-level configuration.814815 [0]: /advanced/#merging-of-configuration815 [0]: /advanced/clients/#merging-of-configuration816 """817 if cookies is not None:818 message = (819 "Setting per-request cookies=<...> is being deprecated, because "
87 unmodified lines
907 but passing an explicit `httpx.Request()` is supported as well.908909 See also: [Request instances][0]910911 [0]: /advanced/#request-instances911 [0]: /advanced/clients/#request-instances912 """913 if self._state == ClientState.CLOSED:914 raise RuntimeError("Cannot send a request, as the client has been closed.")915
643 unmodified lines
1559 See `AsyncClient.build_request()`, `AsyncClient.send()`1560 and [Merging of configuration][0] for how the various parameters1561 are merged with client-level configuration.15621563 [0]: /advanced/#merging-of-configuration1563 [0]: /advanced/clients/#merging-of-configuration1564 """15651566 if cookies is not None: # pragma: no cover1567 message = (
88 unmodified lines
1656 but passing an explicit `httpx.Request()` is supported as well.16571658 See also: [Request instances][0]16591660 [0]: /advanced/#request-instances1660 [0]: /advanced/clients/#request-instances1661 """1662 if self._state == ClientState.CLOSED:1663 raise RuntimeError("Cannot send a request, as the client has been closed.")1664
403 unmodified lines