Hi there!
`Accept` and `Content-Type` headers serve different purpose.
Also you must assign all options before calling HTTP method (post/get/etc):
```
response = HTTP
.auth("Bearer #{token}")
.headers("Content-Type" => "text/csv")
.post("
https://some.url")
```
> --
> You received this message because you are subscribed to the Google Groups
> "http.rb: a fast, easy-to-use Ruby HTTP client with a chainable API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
httprb+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Sincerely yours, Alexey Zapparov
http://ixti.net |
+34 677 990 688