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
F15421565: D14226.id34351.diff
Sat, Mar 22, 12:51 AM
F15401257: D14226.diff
Mon, Mar 17, 4:35 PM
F15379639: D14226.id34351.diff
Thu, Mar 13, 10:32 PM
F15374257: D14226.id.diff
Wed, Mar 12, 5:57 PM
Unknown Object (File)
Fri, Feb 21, 12:15 PM
Unknown Object (File)
Feb 12 2025, 12:05 AM
Unknown Object (File)
Feb 8 2025, 11:28 PM
Unknown Object (File)
Feb 8 2025, 11:28 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.