Page MenuHomePhabricator

[identity] Add HTTP error utilities
ClosedPublic

Authored by bartek on Jun 4 2024, 12:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 5:30 PM
Unknown Object (File)
Mon, Oct 28, 10:54 PM
Unknown Object (File)
Sun, Oct 13, 6:37 AM
Unknown Object (File)
Sun, Oct 13, 6:37 AM
Unknown Object (File)
Sun, Oct 13, 6:36 AM
Unknown Object (File)
Sun, Oct 13, 6:35 AM
Unknown Object (File)
Sep 10 2024, 1:53 AM
Unknown Object (File)
Sep 8 2024, 3:59 PM
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