Why would Twitter send a Content-Disposition header with their API responses?
content-disposition: attachment; filename=json.json content-disposition: attachment; filename=json.jsonSending it as a "file download" has no effect on what happens when the endpoint is called via AJAX, but in the event that a browser navigates to it directly, ensures that even the dumbest of browsers do not render it as HTML.