このファイルをダウンロードしようとしています: http://www.macupdate.com/download/49646/privatus.dmg
302 http コードが表示されるので、Location Header を取得して、新しいアドレスhttp://sweetpproductions.com/products/privatus/Privatus.dmgを使用します。
しかし、新しいリンクでは、次のヘッダーを含む 406 http コードが表示されます。
"Date" "Mon, 27 Oct 2014 14:24:32 GMT"
"Content-Type" "text/html; charset=iso-8859-1"
"Transfer-Encoding" "chunked"
"Connection" "keep-alive"
"Set-Cookie" "__cfduid=da76029364799a83265f7f215bbddef491414419872061; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.sweetpproductions.com; HttpOnly"
"Server" "cloudflare-nginx"
"CF-RAY" "17ff8ec8633f0893-FRA"
と本体で:
<head><title>Not Acceptable!</title></head><body><h1>Not Acceptable!</h1><p>An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.</p></body></html>
Accept ヘッダーを Content-Type に、Accept-Date を Date に設定しようとしましたが、役に立ちません。戻りコードは常に 406 です。ただし、ブラウザはこのファイルをダウンロードできます。では、このエラーを省略してファイルをダウンロードするにはどうすればよいでしょうか。