Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] 206 responses instead of 404?

I have a Jetty 9.4 server which I was testing using Skipfish. This probes the site using queries with Range: headers. I noticed from the log that non-existent URLs were getting 206 responses instead of the expected 404. My 404 error page is defined in the web.xml like this:

  <error-page>
    <error-code>404</error-code>
    <location>/404.html</location>
  </error-page>

No filters are being applied to plain HTML pages, so I'm at a loss as to why this is happening. Any ideas?

--
John English


--
This email has been checked for viruses by AVG antivirus software.
www.avg.com


Back to the top