Page MenuHomePhabricator

Acccept any HTTP 2xx status as success in Harbormaster
ClosedPublic

Authored by epriestley on Oct 2 2015, 4:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 17, 3:41 PM
Unknown Object (File)
Mon, Mar 4, 6:31 PM
Unknown Object (File)
Feb 18 2024, 4:35 AM
Unknown Object (File)
Jan 29 2024, 3:40 PM
Unknown Object (File)
Jan 24 2024, 6:56 PM
Unknown Object (File)
Jan 17 2024, 12:53 AM
Unknown Object (File)
Dec 31 2023, 12:43 PM
Unknown Object (File)
Dec 27 2023, 7:07 AM
Subscribers
None

Details

Summary

Ref T9478. This should probably be configurable eventually, but for now treat any 200-block status as success. Also show the result code.

Test Plan
  • Hit a bad URI, saw "HTTP 503" + failure.
  • Hit a good URI, saw "HTTP 200" + success.

Diff Detail

Repository
rP Phabricator
Branch
httpstatus
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 8159
Build 9321: Run Core Tests
Build 9320: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Acccept any HTTP 2xx status as success in Harbormaster.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, hach-que.
chad edited edge metadata.
This revision is now accepted and ready to land.Oct 2 2015, 4:14 PM
hach-que edited edge metadata.
This revision was automatically updated to reflect the committed changes.