>
>> 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.
>>

Worked perfectly, thanks!
Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to