Summary: | response containsHeader("Content-Type") not working | ||
---|---|---|---|
Product: | Tomcat 4 | Reporter: | sean <srdrucker> |
Component: | Servlet & JSP API | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 4.1.24 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
sean
2004-05-25 23:19:22 UTC
This has now been fixed in SVN. Based on the wording on the spec for setContentLength() which states that calling this method sets the Content-Length header for HTTP servlets, containsHeader() now returns true if the Content-Length or Content-Type has been set directly by setHeader or indirectly by setContentLength() etc. |