srnsw / State-Records-Search

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

Patch: All results views rendered in JSON to use application/json as the Content-Type #36

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 local testing.

richardlehane commented 10 years ago

Thanks very much for these patches Danny. We'll look to pull them in as soon as possible (although that may be a little while as we are government organisation!)

dannyarcher commented 10 years ago

Happy to help.

dannyarcher commented 10 years ago

You may also find building and testing with travis handy, that way one can know at a glance how things are going.