aio-libs / aio-libs/aiohttp

missing headers_received signal in TraceConfig

オープン
#7,386 コメント 9 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement Hacktoberfest
主要言語
Python
スター
16.5k
フォーク
2.4k
平均マージ
17時間 22分
マージ済み PR(30日)
212

説明

### 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。