To quote one of my favorite tv shows....well there's your problem! Thanks, I'll give this
a try.
Marc
Sent from my iPad
On Jun 1, 2011, at 4:47 PM, Mark Thomas <markt@apache.org> wrote:
> On 01/06/2011 16:16, Marc Boorshtein wrote:
>> So for some reason the addHeader is not doing anything
>
> I'm guessing you haven't looked at the source for this yet.
>
> org.apache.catalina.connector#addHeader(String,String) is a NOOP. It was
> removed for Tomcat 7.
>
> You want:
> request.getCoyoteRequest().getMimeHeaders().setValue(str).setString(str)
>
> This will work for 6 and 7.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|