aio-libs/aiohttp

missing headers_received signal in TraceConfig

Open

#7386 aperta il 20 lug 2023

Vedi su GitHub
 (9 commenti) (1 reazione) (0 assegnatari)Python (1997 fork)batch import
Hacktoberfestenhancement

Metriche repository

Star
 (14.286 star)
Metriche merge PR
 (Merge medio 5g 2h) (198 PR mergiate in 30 g)

Descrizione

Is your feature request related to a problem?

aiohttp's client tracing docs state the request flow has a stage named headers_received. I suppose this means response headers received. But TraceConfig has no declared signal handler for it.

Describe the solution you'd like

Tracing when response headers are received is usefull for early request time measuring. A new signal should be added at TraceConfig.on_response_headers_received.

Describe alternatives you've considered

None

Related component

Client

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct

Guida contributor