Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/patch-1' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
vivodi committed Dec 1, 2024
2 parents 79d8616 + 043cd7d commit 5555634
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES/10074.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Added support for overriding the base URL with an absolute one in client sessions
-- by :user:`vivodi`.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Arseny Timoniq
Artem Yushkovskiy
Arthur Darcet
Austin Scola
Bai Haoran
Ben Bader
Ben Greiner
Ben Kallus
Expand Down
3 changes: 3 additions & 0 deletions docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ The client session supports the context manager protocol for self closing.
await session.request("GET", "/bar")
# request for http://example.com/bar

await session.request("GET", "http://foo.com/bar")
# request for http://foo.com/bar

.. versionadded:: 3.8

:param aiohttp.BaseConnector connector: BaseConnector
Expand Down

0 comments on commit 5555634

Please sign in to comment.