srnsw / State-Records-Search

Java version of api.records.nsw.gov.au
3 stars 1 forks source link

Patch: Search results rendered in JSON to use application/json as the Content-Type in every case #35

Closed dannyarcher closed 10 years ago

dannyarcher commented 10 years ago

Requests for search results in JSON now bear the correct Content-Type header. The media type is correctly determined by SimpleMediaTypeView, however it was not being sent from api.records.nsw.gov.au or in testing.

dannyarcher commented 10 years ago

Second thought, it goes deeper than that...