jrudolph commented on issue #300:
URL: 
https://github.com/apache/incubator-pekko-http/issues/300#issuecomment-1671367360

   A simple but lazy fix would be to reject/ignore `Accept-Charset` headers 
like that if we cannot do anything with them.
   
   A more involved and potentially performance-impacting fix would be to make 
sure to not assume that we have a `nioCharset` for every charset we receive and 
try to reject from those layers. Since this is used from many places, it is 
quite hard to fix properly ensuring that we can create proper responses. Maybe 
we should just ignore those headers if the charset cannot be resolved. (Which 
makes sense, because we will not be able to produce a response in the given 
charset anyway).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to