title: Jetty HTTP 413 Header Full error - Java/Scala
body: <p>I am using Jetty 7.6 with Scalatra web framework. In some of the requests, I need to send a large text as response body to the client, I use HttpServletResponse.getWriter() to write response.</p>
  
  <p>I noticed that on client side I receive 413 Header Full error. Apparently one solution to this problem in Jetty is to increase jetty's header-buffer-size value.</p>
  
  <p>I would like to know what does HttpServletResponse.getWriter() has to do with the size of the header of request  ?! As I understand HttpServletResponse.getWriter() writes into response body rather than response header.</p>
  
  <p>I appreciate if someone could explain this issue.</p>