Thanks!
- Original Message -
> From: "Mark Thomas"
> To: "Tomcat Users List"
> Sent: Saturday, May 4, 2013 5:57:15 PM
> Subject: Re: Status 204 (no content) and Content-Type header
>
> On 04/05/2013 21:21, Mark Thomas wrote:
> >
On 04/05/2013 21:21, Mark Thomas wrote:
> On 04/05/2013 20:43, Rossen Stoyanchev wrote:
>>
>> It appears that Tomcat ignores the Content-Type header when the
>> status is set to 204 (No Content).
>
> Correct. It happens in AbstractHttp11Processor.prepareResponse()
>
>> I can see the rational for
On 04/05/2013 20:43, Rossen Stoyanchev wrote:
>
> It appears that Tomcat ignores the Content-Type header when the
> status is set to 204 (No Content).
Correct. It happens in AbstractHttp11Processor.prepareResponse()
> I can see the rational for that,
> however is there a strong reason why Tomcat
It appears that Tomcat ignores the Content-Type header when the status is set
to 204 (No Content). I can see the rational for that, however is there a strong
reason why Tomcat should care if it is set by the application? There are some
corner cases [1].
Rossen
[1]
https://github.com/sockjs/