apple / apple/swift-http-api-proposal
Ability to emit a specific HTTP stream error code to the client
Open
http-server
- Dominant language
- Swift
- Stars
- 66
- Forks
- 21
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 2
Description
Should we allow the server implementation to emit a specific HTTP stream error code to the client?
There error codes in HTTP/2 and HTTP/3 might be useful to applications, as we have special handling for them on the client-side:
H3_EXCESSIVE_LOAD / ENHANCE_YOUR_CALM
H3_REQUEST_REJECTED / REFUSED_STREAM
H3_VERSION_FALLBACK / HTTP_1_1_REQUIRED
Contributor guide
Assessment
This issue has not been assessed yet.