Summary: | DefaultServlet returns no content when included during a HEAD request | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Jeremy Boynes <jboynes> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P5 | ||
Version: | 8.0.x-trunk | ||
Target Milestone: | ---- | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 37466, 57602 | ||
Attachments: | Patch with test case and possible fix |
Description
Jeremy Boynes
2015-02-19 07:57:32 UTC
Created attachment 32497 [details]
Patch with test case and possible fix
Patch that adds a test cases checking the Content-Length for GET and HEAD requests to a JSP page that includes a static resource.
Possible fix by checking the DispatcherType in DefaultServlet#doHead()
Fixed in trunk, 8.0.x for 8.0.21 onwards and in 7.0.x for 7.0.60 onwards. |