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
F19031707: D14226.diff
Tue, Nov 25, 2:37 AM
F19031185: D14226.diff
Mon, Nov 24, 11:45 PM
F18936529: D14226.diff
Mon, Nov 10, 8:21 PM
F18791538: D14226.id.diff
Oct 16 2025, 2:34 PM
F18740172: D14226.id34351.diff
Oct 2 2025, 12:56 AM
F18730593: D14226.id.diff
Sep 30 2025, 1:21 PM
F18712766: D14226.id.diff
Sep 29 2025, 5:32 AM
F18670677: D14226.id34354.diff
Sep 25 2025, 1:05 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
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.