Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001143 [Resin] minor always 05-23-06 09:44 05-30-06 21:14
Reporter ferg View Status public  
Assigned To ferg
Priority high Resolution fixed  
Status closed   Product Version
Summary 0001143: proxy servlet returning incorrect headers
Description (rep by Anoop Achuthan)

 When using com.caucho.servlets.HttpProxyServlet, resin adds request
headers
to the response.
Please see the response headers below :

(Response Status) HTTP/1.1 200 OK
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/msword, */*
Accept-Encoding gzip, deflate
Accept-Language en-us
Cache-Control max-age=5
Connection Keep-Alive
Content-Length 6
Content-Type text/plain; charset=utf-8
Cookie JSESSIONID=aw0aTmloQJPaVu8lFT
Date Tue, 23 May 2006 03:02:10 GMT
Expires Tue, 23 May 2006 03:02:15 GMT
Host foo.org
Last-Modified Thu, 11 May 2006 17:00:47 GMT
Server Resin/3.0.19
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727)

How could I avoid this happening ?
I wrote a filter which uses removeHeader method of
com.caucho.server.http.HttpResponse
to eliminate unwanted headers. The method is working for certain headers
like
Pragma, Accept-Language, Host etc. Is there any other way to remove
other headers
which are unaffected by removeHeader method ?

Additional Information
Attached Files

- Relationships

- Notes
(0001256)
ferg
05-30-06 21:14

server/1962
 

- Issue History
Date Modified Username Field Change
05-23-06 09:44 ferg New Issue
05-30-06 21:14 ferg Note Added: 0001256
05-30-06 21:14 ferg Assigned To  => ferg
05-30-06 21:14 ferg Status new => closed
05-30-06 21:14 ferg Resolution open => fixed
05-30-06 21:14 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker