Page MenuHomePhabricator

Add an isRedirect() method to HTTPResponseStatus

Authored by epriestley on Mar 25 2015, 12:13 AM.



Ref T6755. This adds a convenience method for identifying redirect (HTTP 3XX) responses.

Test Plan

See next revision.

Diff Detail

rPHU libphutil
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley retitled this revision from to Add an isRedirect() method to HTTPResponseStatus.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
chad added a reviewer: chad.
This revision is now accepted and ready to land.Mar 25 2015, 12:35 AM
This revision was automatically updated to reflect the committed changes.