title: How to have Jersey pass malformed headers
body: <p>I'm using Jersey 1.12 and have an endpoint that may or may not receive malformed headers from clients that i don't control (for instance <code>"Content-Type":"application/json; bla-bla"</code>)
  Obviously <code>bla-bla</code> is malformed as the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html" rel="nofollow noreferrer" title="spec">spec</a> requires parameters to have values as well i.e. <code>bla-bla=value</code> and thus Jersey will output something like </p>
  
  <pre class="lang-json prettyprint-override"><code>"status": 400,
  "message": "Bad Content-Type header value: 'application/json; bla-bla'"
  </code></pre>
  
  <p>I can write a filter to tackle this as suggested <a href="https://stackoverflow.com/questions/27665744/how-to-inject-an-object-into-jersey-request-context">here</a>, <a href="https://stackoverflow.com/questions/24350019/jersey-pass-value-from-containerrequestfilter-to-endpoint">here</a> and <a href="https://stackoverflow.com/questions/5551839/how-can-you-pass-data-from-a-filter-to-the-endpoint-in-jersey">here</a> but I wonder if there's a way to have Jersey just <strong>ignore</strong> the malformed header all together in cases where i'm not interested in it's value?</p>