Page MenuHomePhabricator

[identity] Add HTTP error utilities
ClosedPublic

Authored by bartek on Jun 4 2024, 12:50 AM.
Tags
None
Referenced Files
F3392196: D12302.id40913.diff
Sat, Nov 30, 7:29 AM
F3391938: D12302.diff
Sat, Nov 30, 6:42 AM
Unknown Object (File)
Fri, Nov 22, 8:39 PM
Unknown Object (File)
Fri, Nov 1, 5:30 PM
Unknown Object (File)
Oct 28 2024, 10:54 PM
Unknown Object (File)
Oct 13 2024, 6:37 AM
Unknown Object (File)
Oct 13 2024, 6:37 AM
Unknown Object (File)
Oct 13 2024, 6:36 AM
Subscribers

Details

Summary
  • Added some handy HTTP error response utils
  • Created handle_db_error() counterpart for HTTP

Depends on D12301

Test Plan
  • GET http://localhost:51004/whatever returns 404 as expected
  • Tested together in later diffs

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable