<div dir="ltr">I downloaded another file and the Content-Disposition header lists the filename with space under quotes correctly "zcs error.docx" thereby proving that its nginx which is not parsing it correctly. Correct me if i am wrong.<div>
<br></div><div><ol class="" style="margin:0px;min-width:100%;list-style-type:none;color:rgb(48,57,66);font-family:'Lucida Grande',sans-serif;font-size:12px;padding:2px 6px!important"><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word;white-space:nowrap">
<div class="" style="color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Cache-Control:</div><div class="" style="font-family:Menlo,monospace;white-space:pre-wrap;display:inline;margin-right:100px;word-break:break-all;margin-top:1px;font-size:11px!important">
no-store, no-cache</div></li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word;white-space:nowrap"><div class="" style="color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">
Connection:</div><div class="" style="font-family:Menlo,monospace;white-space:pre-wrap;display:inline;margin-right:100px;word-break:break-all;margin-top:1px;font-size:11px!important">keep-alive</div></li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word;white-space:nowrap">
<b><div class="" style="color:rgb(84,84,84);display:inline-block;margin-right:0.5em;vertical-align:top;white-space:pre-wrap">Content-Disposition:</div><div class="" style="font-family:Menlo,monospace;white-space:pre-wrap;display:inline;margin-right:100px;word-break:break-all;margin-top:1px;font-size:11px!important">
attachment; filename="zcs error.docx"</div></b></li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word;white-space:nowrap"><div class="" style="color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">
Content-Encoding:</div><div class="" style="font-family:Menlo,monospace;white-space:pre-wrap;display:inline;margin-right:100px;word-break:break-all;margin-top:1px;font-size:11px!important">gzip</div></li><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word;white-space:nowrap">
<div class="" style="color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">Content-Type:</div><div class="" style="font-family:Menlo,monospace;white-space:pre-wrap;display:inline;margin-right:100px;word-break:break-all;margin-top:1px;font-size:11px!important">
application/vnd.openxmlformats-officedocument.wordprocessingml.document;   name="zcs error.docx"</div></li></ol><div><font color="#303942" face="Menlo, monospace"><span style="font-size:11px;white-space:pre-wrap"><br>
</span></font></div></div><div><font color="#303942" face="Menlo, monospace"><span style="font-size:11px;white-space:pre-wrap">Thanks</span></font></div><div><font color="#303942" face="Menlo, monospace"><span style="font-size:11px;white-space:pre-wrap">-Kunal</span></font></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 11:16 AM, Lukas Tribus <span dir="ltr"><<a href="mailto:luky-37@hotmail.com" target="_blank">luky-37@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Kunal,<br>
<div class=""><br>
<br>
> I used the web browser but didn't see this Content-disposition header<br>
> in the response. Only saw these response headers.<br>
<br>
</div>We need to see the Content-disposition, everything else makes no sense.<br>
<br>
Are you trying against the nginx frontend or your backend? If it is nginx<br>
you're connecting to, you abviously need a filename without spaces otherwise<br>
the response will not show up on your browser.<br>
<div class=""><br>
<br>
<br>
> Using the curl to get the file directly from the backend server keeps<br>
> throwing the http 404 must authenticate error don't know why as i am<br>
> supplying the -u username:password as well<br>
<br>
</div>Fix your authentication problem. Only you know how your backend<br>
authenticates users, we can't tell you that (perhaps you need cookies).<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
Regards,<br>
<br>
Lukas<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>