title: Jetty drops Cache-Control
body: <p>I'm having problem with deploying servlet on Jetty. It seems that Jetty simply drops <em>Cache-Control</em> (and <em>Pragma</em>) headers produced in servlet.</p>
  
  <pre><code>public abstract class Servlet extends HttpServlet {
    ...
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
      ...
      resp.setHeader("Cache-Control", "private, no-cache");
      resp.setHeader("Pragma", "no-cache");
      ...
    }
    ...
  }
  </code></pre>
  
  <p>All headers (esp. Cache-Control and Pragma) are as expected when I deploy such servlet into Tomcat. But Jetty seems to swallow these headers.</p>
  
  <p>Any advice?</p>