aio-libs/aiohttp

missing headers_received signal in TraceConfig

Open

#7 386 ouverte le 20 juil. 2023

Voir sur GitHub
 (9 commentaires) (1 réaction) (0 assignés)Python (1 997 forks)batch import
Hacktoberfestenhancement

Métriques du dépôt

Stars
 (14 286 stars)
Métriques de merge PR
 (Merge moyen 5j 2h) (198 PRs mergées en 30 j)

Description

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

Guide contributeur