Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1143 | minor | always | 05-23-06 09:44 | 05-30-06 21:14 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | high | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
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 ? |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|