alphagov/frontend — pull request #80 by daibach (2012-10-10 19:33:38+00:00)
Title: Output 404 instead of 406 when page content doesn't exist

We are currently issuing a 406 Not Acceptable when a user requests content in a format that doesn't exist (e.g. they request a JSON version of HTML content). We should probably return a 404 Not Found instead as this content doesn't actually exist.

I've issued this pull request after a discussion with @psd and @norm. Happy to take other opinions before this is merged though.