dosya olarak send_data olmaz ekran. Hem pow
hem de thin
sunucularını denedim.raylar Ben Raylar yöntemi ile sorunlar yaşıyorum
Neyi yanlış yaptığımı anlayamıyorum?
Ben rails 4.0.0.beta
DÜZENLEME kullanıyorum:
CURL başlıklarını:
< 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
Eğer '-v http kıvrılıp sonucunu gönderir misiniz? Bahse girerim içerik türünü doğru ayarlamıyor. – stef
Şimdi CURL üstbilgileri ekledim – sandelius
Bu tarayıcıya özgü olabilir. Hangi tarayıcıda test yapıyorsunuz? – bdares