Hey guys,
And while I understand this auto negotiates the content type (via the Accept header), we have many clients who don't have this set properly so we've historically had to force it to JSON no matter what. Since our API only returns JSON, this is a fairly safe thing for us to do.
This proxy works fine with cURL, but if I request it in Safari for example, I get:
[:error, "{\"status_code\"=>7, \"status_message\"=>\"Request Timed Out\"}"]
How can I skip the auto-negotiating nature of this and force it? Safari is a good example if a client that is apparently negotiating plain text.
Thanks!