aio-libs/aiohttp

missing headers_received signal in TraceConfig

Open

#7,386 opened on 2023年7月20日

GitHub で見る
 (9 comments) (1 reaction) (0 assignees)Python (1,997 forks)batch import
Hacktoberfestenhancement

Repository metrics

Stars
 (14,286 stars)
PR merge metrics
 (平均マージ 5d 2h) (30d で 198 merged PRs)

説明

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

コントリビューターガイド