Merge lp:~wgrant/launchpad/librarian-missing-500 into lp:launchpad
Proposed by
William Grant
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 17877 | ||||
Proposed branch: | lp:~wgrant/launchpad/librarian-missing-500 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
142 lines (+61/-24) 2 files modified
lib/lp/services/librarianserver/tests/test_web.py (+36/-0) lib/lp/services/librarianserver/web.py (+25/-24) |
||||
To merge this branch: | bzr merge lp:~wgrant/launchpad/librarian-missing-500 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+281370@code.launchpad.net |
Commit message
Fix Librarian to generate non-cachable 500s on missing storage files.
Description of the change
Fix Librarian to generate non-cachable 500s on missing storage files.
Previously we would return a 404 that was cachable for a year, which is silly for what is usually a temporary (otherwise disastrous) internal error.
To post a comment you must log in.