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: [email protected] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
