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)
Fri, Apr 12, 10:46 PM
Unknown Object (File)
Thu, Apr 11, 8:05 AM
Unknown Object (File)
Mon, Apr 1, 6:59 PM
Unknown Object (File)
Sun, Mar 31, 7:28 AM
Unknown Object (File)
Mar 17 2024, 3:41 PM
Unknown Object (File)
Mar 4 2024, 6:31 PM
Unknown Object (File)
Feb 18 2024, 4:35 AM
Unknown Object (File)
Jan 29 2024, 3:40 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.