alphagov/publisher — pull request #242 by alext (2014-07-28 14:27:25+00:00)
Title: Fix healthcheck endpoint with no 'Accept:' header.

The Nagios check hits this endpoint, and expects a 200 response to
consider the application up. This was previously returning a 406
because the nagios request didn't include an 'Accept:' header.

Change this to always return json regardless, which makes it more robust
to this sort of issue.