Homec4science

Configure allowable status codes for HTTPFuture and HTTPSFuture

Authored by root <root@fennec.limetech.org> on Sep 6 2013, 15:41.

Description

Configure allowable status codes for HTTPFuture and HTTPSFuture

Summary: Expose new setExpectStatus() method on BaseHTTPFuture. If set, any status code not in the array will trigger an error state in HTTPFutureResponseStatusHTTP.

Test Plan: Used HTTPSFuture with resolvex() and tested against various status codes.

Reviewers: epriestley

Reviewed By: epriestley

CC: Korvin, aran

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

Details

Committed
epriestley <git@epriestley.com>Sep 6 2013, 15:41
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU546398d1426f: Encode/sign JIRA POST requests like JIRA expects
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU1211cd0c182d: Configure allowable status codes for HTTPFuture and HTTPSFuture (authored by root <root@fennec.limetech.org>).Sep 6 2013, 15:41