<div dir="ltr">I&#39;m using EncodingHandler for gzip encoding of responses and I&#39;m not seeing the header on the client, but I have a breakpoint in AllowedContentEncodings L95, and it&#39;s definitely hit, but I&#39;m wondering if it&#39;s hit after the initial part of the response is written so that header isnt ever sent.<div><br></div><div>My handler dispatches to a worker thread if need be, does the biz logic, calls startBlocking on the exchange, sets the status code and other headers like Content-Type, and then writes the results to the stream from HttpServerExchange#getOutputStream before calling endExchange.</div><div><br></div><div>I can see the Content-Type header correctly set, but not Content-Encoding. The javadocs say they&#39;re written when the first write is initiated, but I have&#39;t managed to find where that is, specifically in relation to the EncodingHandler. Hoping someone can point me in the right direction or with any luck, have a guess at what I&#39;ve messed up.</div><div><br></div><div>Thanks.</div><div><br></div><div>Mike</div></div>