HomePhabricator

Parse HTTP responses with empty "reason-phrase" properly in…

Description

Parse HTTP responses with empty "reason-phrase" properly in PhutilHTTPResponseParser

Summary: Depends on D19628. This ports the fix from that change to PhutilHTTPResponseParser, which is theoretically the future of HTTP response parsing.

Test Plan: Added unit test and made it pass; this code is currently unreachable.

Reviewers: amckinley

Reviewed By: amckinley

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

Details

Provenance
epriestleyAuthored on Sep 4 2018, 3:25 PM
epriestleyPushed on Sep 6 2018, 3:26 PM
Reviewer
amckinley
Differential Revision
D19631: Parse HTTP responses with empty "reason-phrase" properly in PhutilHTTPResponseParser
Parents
rPHUc2ba9da275bb: Allow empty Reason-Phrases
Branches
Unknown
Tags
Unknown
Build Status
Buildable 20751
Build 28215: Run Core Tests