There was an error while loading. Please reload this page.
raw_path
rel_url
1 parent 09f8c44 commit e07978eCopy full SHA for e07978e
1 file changed
tests/integrations/aiohttp/test_aiohttp.py
@@ -783,7 +783,9 @@ async def test_outgoing_trace_headers_skip_query_signed_baggage(
783
784
async def handler(request):
785
received_headers.append(request.headers.copy())
786
- received_urls.append(str(request.rel_url))
+ # Use the raw target so aiohttp/yarl URL canonicalization does not
787
+ # change the encoding of the presigned query parameters.
788
+ received_urls.append(request.raw_path)
789
return web.Response(text="OK")
790
791
raw_server = await aiohttp_raw_server(handler)
0 commit comments