Bug 57602

Summary: HttpServlet returns no content when included during a HEAD request
Product: Tomcat 8 Reporter: Jeremy Boynes <jboynes>
Component: Specification APIsAssignee: 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: 57601    
Bug Blocks:    

Description Jeremy Boynes 2015-02-19 08:20:48 UTC
Similar to bug 57601 the default implementation of doHead() in HttpServlet always suppresses output. This prevents a servlet that includes another's output from receiving the content especially if it has wrapped the response in order to capture the data.
Comment 1 Mark Thomas 2015-03-02 12:07:32 UTC
Fixed in trunk, 8.0.x for 8.0.21 onwards and in 7.0.x for 7.0.60 onwards.