netty5/codec-http/src
Norman Maurer f0e306c2fd Allow to override how headers are encoded
Motivation:

Even if its against the HTTP RFC there are situations where it may be useful to use other chars then US_ASCII in the headers. We should allow to make it possible by allow the user to override the how headers are encoded.

Modifications:

- Add encodeHeaders(...) method and so allow to override it.

Result:

It's now possible to encode headers with other charset then US_ASCII by just extend the encoder and override the encodeHeaders(...) method.
2014-12-26 15:11:39 +01:00
..
main/java/io/netty/handler/codec Allow to override how headers are encoded 2014-12-26 15:11:39 +01:00
test ensure getRawQuery is not null before appending 2014-12-16 06:53:29 +01:00