Skip to content
Snippets Groups Projects

api_route: Ensure never_cache is honored for all response status codes

Previously never cache headers were only added for responses with status code 200 but error responses must also be considered.

So move never_cache parameter handling of api_route decorator from apiurls module to apiresponse one.

Related to swh/infra/sysadm-environment#2774 (closed)


Migrated from D5094 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading