Skip to content

Commit

Permalink
Base url docs (#7448)
Browse files Browse the repository at this point in the history
Add information to behavior of ClientSession's base_url parameter.
  • Loading branch information
mokko committed Jul 28, 2023
1 parent dc17263 commit 38ffe6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/6647.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added information on behavior of base_url parameter in `ClientSession`.
4 changes: 3 additions & 1 deletion docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ The client session supports the context manager protocol for self closing.


:param base_url: Base part of the URL (optional)
If set it allows to skip the base part in request calls.
If set, it allows to skip the base part (https://docs.aiohttp.org) in
request calls. If base_url includes a path (as in
https://docs.aiohttp.org/en/stable) the path is ignored/discarded.

.. versionadded:: 3.8

Expand Down

0 comments on commit 38ffe6f

Please sign in to comment.