akka/akka-http
Ver no GitHubRestrict / review `Transfer-Encoding` header rendering
Open
#3.761 aberto em 15 de fev. de 2021
1 - triageddiscusshackathonhelp wantedt:coret:model
Métricas do repositório
- Stars
- (1.311 stars)
- Métricas de merge de PR
- (Mesclagem média 1h 17m) (1 fundiu PR em 30d)
Description
Since #3754, we only support Transfer-Encoding: chunked headers and no other ones. The reasoning is that akka-http is implementing the "Transfer" part of HTTP. Leaving parsing or providing custom Transfer-Encoding headers open to the user will lead to confusion and bugs.
We should check that:
- The
Transfer-Encodingmodel could make sure that the latest entry is alwayschunked(see RFC), though that would change the error reporting for parsing as now implemented with #3754 - User-provided
Transfer-Encodingheaders will always be ignored