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
F14063383: D14226.diff
Mon, Nov 18, 6:21 PM
F14042064: D14226.id.diff
Tue, Nov 12, 12:05 AM
F14027041: D14226.id34354.diff
Fri, Nov 8, 4:50 AM
F14007725: D14226.id34354.diff
Tue, Oct 29, 10:35 AM
Unknown Object (File)
Oct 13 2024, 3:54 PM
Unknown Object (File)
Oct 13 2024, 3:26 PM
Unknown Object (File)
Oct 2 2024, 6:55 PM
Unknown Object (File)
Oct 1 2024, 6:32 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.