aio-libs / aio-libs/aiohttp

missing headers_received signal in TraceConfig

Abierto
#7,386 9 comentarios 1 reacción 0 asignados Ver en GitHub
enhancement Hacktoberfest
Lenguaje dominante
Python
Estrellas
16.5k
Forks
2.4k
Merge medio
17 h 22 min
PR fusionados (30 d)
212

Descripción

### Is your feature request related to a problem?

aiohttp's [client tracing][1] 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

- [X] I agree to follow the aio-libs Code of Conduct

[1]: https://docs.aiohttp.org/en/stable/tracing_reference.html

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.