After
I am trying to download this file:,
this gives me 302 http code , Then I get a location header and go from a new address:
But the new link gives me 406 http code with this header:
"date" "som 27 October 2014 14: 24:32 GMT "" Content type "" text / html; charset = ISO-8859-1 "" transfer-encoding "" chunked "" connection "" keep alive "" set-cookie "" __cfduid = Da76029364799a83265f7f215bbddef491414419872061; Finishing = Mon, Dec 23 -2019 23:50:00 GMT; path = /; domain.sweetpproductions.com =; Http "" server only "" CloudFlare-nginx "" CF-Ray "" 17ff8ec8633f0893-FRA " < P> and with body: & lt; Top & gt; & Lt; Title & gt; Do not allow & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; H1 & gt; not acceptable! & Lt; / H1> & Lt; P & gt; The proper representation of the requested resource was not found on this server. This error was generated by Mod_Security. & Lt; / P & gt; & Lt; / Body & gt; & Lt; / Html & gt; I tried to try accepting the header for the content-type and date of acceptance but it does not help. Returning code is always 406. But browsers can download this file. So, how to leave this error and download file?
I can not believe what the right headers are sending you are not doing That you can try to add or improve user-agent (some registered device), just compare request headers of any browser (like Chrome) with your app.
Comments
Post a Comment