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)
Thu, Dec 12, 2:14 AM
Unknown Object (File)
Wed, Dec 11, 1:31 AM
Unknown Object (File)
Mon, Dec 9, 2:03 PM
Unknown Object (File)
Sat, Dec 7, 1:38 PM
Unknown Object (File)
Sat, Dec 7, 10:46 AM
Unknown Object (File)
Mon, Dec 2, 5:33 PM
Unknown Object (File)
Wed, Nov 27, 6:44 AM
Unknown Object (File)
Fri, Nov 22, 4:51 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.