MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / https_proxy_handler

Function https_proxy_handler

tests/test_proxy_functional.py:872–874  ·  view source on GitHub ↗
(request: web.Request)

Source from the content-addressed store, hash-verified

870 )
871
872 async def https_proxy_handler(request: web.Request) -> web.Response:
873 https_proxy_requests.append(CIMultiDict(request.headers))
874 return web.Response(status=502)
875
876 http_proxy = await aiohttp_raw_server(http_proxy_handler)
877 https_proxy = await aiohttp_raw_server(https_proxy_handler)

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected