You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/02/13 12:09:35 UTC
DO NOT REPLY [Bug 44407] New: - Content-Disposition
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44407>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44407
Summary: Content-Disposition
Product: Apache httpd-2
Version: 2.0.58
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P2
Component: All
AssignedTo: bugs@httpd.apache.org
ReportedBy: mamm_soy@yahoo.es
I'm trying to send a file through the http response.
When the information arrives to the browser, this doesn't indentify de name of
file. It sets the name of 'jsp' file as file name to download.
I'm adding in the response the http header "Content-Type:..." and "Content-
Disposition", "attachment; filename=...".
The http header "Content-Disposition" doesn�t arrive to the browser.
I send some information about the communication:
Request sent:
(Request-Line) GET /java/sit/warranty/attachment/attachmentViewer.jsp?id=5
HTTP/1.1
Accept */*
Accept-Encoding gzip, deflate
Accept-Language es
Connection Keep-Alive
Cookie JSESSIONID=0000AZSBjefgsR7F0HBfeJLDPpa:-1
Host 192.168.0.201:81
Referer http://192.168.0.201:81/java/sit/warranty/attachment/attach.jsp?
w=81185930&c=1
UA-CPU x86
User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Request Received:
(Status-Line) HTTP/1.1 200 OK
Cache-Control no-cache
Connection Keep-Alive
Content-Language es-ES
Content-Type application/octet-stream
Date Wed, 13 Feb 2008 09:24:27 GMT
Expires Thu, 01 Jan 1970 00:00:00 GMT
Keep-Alive timeout=300, max=92
Pragma no-cache
Server WebSphere Application Server/6.0
Transfer-Encoding chunked
JSP Source:
...
response.setContentType(att.getMimeType());
response.setHeader("Content-Disposition", "attachment; filename=" +
att.getFileName());
...
Browsers used:
MSIE v7.5730.13
FireFox v2.0.0.12
HTTP Server:
Apache/2.0.58
Web Application Server:
WebSphere Application Server - V6.0.2.19
Thanks.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44407] - Content-Disposition
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44407>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44407
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From nick@webthing.com 2008-02-13 03:50 -------
Do you have any evidence that your backend is sending a Content-Disposition
header to Apache?
What connector are you using? proxy_ajp, proxy_http, mod_jk? other?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44407] - Content-Disposition
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44407>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44407
------- Additional Comments From mamm_soy@yahoo.es 2008-02-13 07:28 -------
(In reply to comment #1)
> Do you have any evidence that your backend is sending a Content-Disposition
> header to Apache?
> What connector are you using? proxy_ajp, proxy_http, mod_jk? other?
I don't know what kind of connector it's using.
�How can i see it?
The content of httpd.conf is:
1
WebSpherePluginConfig /QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/WAS6TE
ST/config/cells/I5_WAS6TEST/nodes/IHS_I5_WAS6TEST_node/servers/IHS_I5_WAS6TEST/p
lugin-cfg.xml
2 LoadModule was_ap20_module /QSYS.LIB/QWAS6.LIB/QSVTAP20.SRVPGM
3 Listen *:81
4 DocumentRoot /www/was6test/htdocs
5 Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -
IncludesNoExec -Indexes -MultiViews
6 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
7 LogFormat "%{Cookie}n \"%r\" %t" cookie
8 LogFormat "%{User-agent}i" agent
9 LogFormat "%{Referer}i -> %U" referer
10 LogFormat "%h %l %u %t \"%r\" %>s %b" common
11 CustomLog logs/access_log combined
12 LogMaint logs/access_log 7 0
13 LogMaint logs/error_log 7 0
14 SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
15 SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0
16 SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
17 SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
18 SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
19 SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
...
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44407] - Content-Disposition
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44407>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44407
------- Additional Comments From mamm_soy@yahoo.es 2008-02-14 01:57 -------
We opened a ticket in IBM as well as Apache.
The IBM's technician has told us that we must update the version of OS/400.
Let's hope we can solve this problem.
I'll keep you informed.
Thanks again.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 44407] - Content-Disposition
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44407>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44407
------- Additional Comments From rpluem@apache.org 2008-02-13 12:21 -------
It is most likely that things get messed up by the WebSphere plugin or
Websphere. Please open a ticket with IBM to ensure that this is not the case.
Furthermore please sniff the network traffic between your application server and
httpd to find out as suggested by Nick if the backend is really sending a
Content-Disposition header. BTW: Who provided the httpd you are using? Did you
compile it yourself or was it delivered with WebSphere?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org