<div dir="ltr">I used the web browser but didn't see this Content-disposition header in the response. Only saw these response headers.<div><br><div><ol class="" tabindex="0" style="list-style-type:none;margin:0px;outline:none;color:rgb(48,57,66)">
<li title="" class="" style="font-family:'Lucida Grande',sans-serif;font-size:12px;padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word;font-weight:bold">Response Headers<span class="" style="display:inline;margin-left:30px;font-weight:normal;color:rgb(115,115,115)">view source</span></li>
<ol class="" style="font-family:'Lucida Grande',sans-serif;font-size:12px;margin:0px;min-width:100%;list-style-type:none;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">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"><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-Length:</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">1159</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">
text/html</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">
Date:</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">Mon, 24 Mar 2014 17:15:00 GMT</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">Server:</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">
nginx</div></li></ol></ol><div><font color="#303942" face="Menlo, monospace"><span style="font-size:11px;white-space:pre-wrap"><br></span></font></div></div></div><div><font color="#303942" face="Menlo, monospace"><span style="font-size:11px;white-space:pre-wrap">Using the curl to get the file directly from the backend server keeps throwing the http 404 must authenticate error don't know why as i am supplying the -u username:password as well</span></font></div>
<div><font color="#303942" face="Menlo, monospace"><span style="font-size:11px;white-space:pre-wrap"><br></span></font></div><div>







<p class="">kunal@zdev-vm048:~$ curl -u testuser1:testpass -k -I "<a href="https://127.0.1.1:8443/service/home/~/?auth=co&loc=en_GB&id=259&part=3">https://127.0.1.1:8443/service/home/~/?auth=co&loc=en_GB&id=259&part=3</a>"</p>

<p class=""><b>HTTP/1.1 404 must authenticate</b></p>
<p class="">Date: Mon, 24 Mar 2014 17:38:56 GMT</p>
<p class="">Content-Type: text/html; charset=ISO-8859-1</p>
<p class="">Cache-Control: must-revalidate,no-cache,no-store</p>
<p class="">Content-Length: 320</p>
<p class=""><br></p>
<p class="">Thanks</p><p class="">-Kunal</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 3:56 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,<br>
<div class=""><br>
<br>
> What debugs should i enable & how to see these response headers ? I do <br>
> see this error though. <br>
<br>
</div>Just use curl for example and request it directly from your backend:<br>
curl -k -I "<a href="https://127.0.1.1:8443/service/home/~/?auth=co&loc=en_GB&id=259&part=3" target="_blank">https://127.0.1.1:8443/service/home/~/?auth=co&loc=en_GB&id=259&part=3</a>"<br>

<br>
<br>
So you can check the actual response header.<br>
<br>
<br>
<br>
<br>
Regards,<br>
<br>
Lukas<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>