はファイルとしてSEND_DATAません。画面。私はpow
とthin
の両方のサーバーを試しました。レールが、私はRailsの方法で問題を抱えている
私が間違っていることを理解できませんか?
私はrails 4.0.0.beta
EDIT使用しています:
CURLヘッダを:
< HTTP/1.1 200 OK
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-UA-Compatible: chrome=1
< X-XHR-Current-Location: /contacts/export
< Content-Disposition: attachment; filename=contacts.csv
< Content-Transfer-Encoding: binary
< Content-Type: text/csv; charset=utf-8; header=present
< Cache-Control: private
< ETag: "48d3d8bd1c8d25cafb82ab705e4875ab"
< Set-Cookie: request_method=GET; path=/
< X-Request-Id: c2588883-f3f9-4f68-8a8c-0de758c47288
< X-Runtime: 0.185206
< Connection: close
< Server: thin 1.5.0 codename Knife
あなたは '-v HTTPをカールした結果を投稿できますか?コンテンツタイプを正しく設定していないと思います。 – stef
CURLヘッダーを追加しました – sandelius
これはブラウザ固有の可能性があります。あなたはどのブラウザをテストしていますか? – bdares