-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
In 0.7.8 some additional code is in play
if AIOHTTP_VERSION >= Version('3.8.0'):
# Join url with ClientSession._base_url
url = orig_self._build_url(url)
url_origin = str(url)
# Combine ClientSession headers with passed headers
if orig_self.headers:
kwargs["headers"] = orig_self._prepare_headers(kwargs.get("headers"))
else:
url_origin = url
The main change is
url = orig_self._build_url(url)
When the final url is presented, it includes the host AND path. This means our previous tests setup where we were just setting the path are starting to fail
Was this desired behaviour or is this a bug? - I'm checking in here as if it is NOT a bug I will need to set about changing my test assertions.
muya, agners, scott-boost, lindycoder, shadchin and 6 more
Metadata
Metadata
Assignees
Labels
No labels