Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Incorrect 'Content-Type' header in bill response #178

Open
chrisgherbert opened this issue Nov 7, 2017 · 0 comments
Open

Incorrect 'Content-Type' header in bill response #178

chrisgherbert opened this issue Nov 7, 2017 · 0 comments

Comments

@chrisgherbert
Copy link

When you leave off the .json file extension on a bill request (for example, https://api.propublica.org/congress/v1/114/bills/hr4498), the response is returned in JSON format, but the Content-Type header is application/xml; charset=utf-8.

This isn't a huge deal, but it should probably show the correct format.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant