Homec4science

Add an isRedirect() method to HTTPResponseStatus

Authored by epriestley <git@epriestley.com> on Mar 25 2015, 12:00.

Description

Add an isRedirect() method to HTTPResponseStatus

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

Test Plan: See next revision.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T6755

Differential Revision: https://secure.phabricator.com/D12150

Details

Committed
epriestley <git@epriestley.com>Mar 25 2015, 12:00
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU4c496670539c: Don't invoke pygmentize to highlight "txt" or "text" files
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUf31dae1d2661: Add an isRedirect() method to HTTPResponseStatus (authored by epriestley <git@epriestley.com>).Mar 25 2015, 12:00