alphagov/gds-api-adapters — pull request #132 by elliotcm (2014-03-27 15:04:43+00:00)
Title: Don't raise errors on 410 JSON gets.

When Whitehall documents are marked as "archived" in Panopticon when they're actually live, the API adapters raise an exception because the special case handling for 404s does not catch 410s.

After conversation with @alext, this code treats 410s in the same manner as 404s.