Why does Jersey swallow my “Content-Encoding” header
问题 Why does the following example swallow my HTTP-Header for "Content-Encoding" in the request. I am writing an application where I need to decode a custom encoding format. However, I can never get hold of the "Content-Encoding" header from the request. Neither in the actual resource nor in an ReaderInterceptor. In the response, this encoding header is not swallowed. This behavior can be easily observed in the following (runnable) example: public class Demo extends JerseyTest { @Override