def METHOD_NAME(self):
    response = self._make_request("/godzilla", HTTP_X_REQUESTED_WITH="Godzilla")
    self.assertEqual(response.status_code, 401)
    response = self._make_request("/godzilla", HTTP_X_REQUESTED_WITH="XMLHttpRequest")
    self.assertEqual(response.status_code, 403)