Home GnuPG

Configure allowable status codes for HTTPFuture and HTTPSFuture
1211cd0c182dUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

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

Provenance
rootAuthored on Sep 6 2013, 3:41 PM
epriestley <git@epriestley.com>Committed on Sep 6 2013, 3:41 PM
Parents
rPHUTIL546398d1426f: Encode/sign JIRA POST requests like JIRA expects
Branches
Unknown
Tags
Unknown

Event Timeline

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