Page MenuHomePhabricator

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

Authored by epriestley on Sep 4 2018, 3:27 PM.
Tags
None
Referenced Files
F22702667: D19631.id46922.diff
Sat, Oct 3, 2:10 AM
F22563751: D19631.diff
Fri, Sep 25, 12:36 AM
Unknown Object (File)
Aug 19 2026, 10:39 PM
Unknown Object (File)
Aug 14 2026, 1:36 AM
Unknown Object (File)
Aug 13 2026, 8:44 AM
Unknown Object (File)
Aug 12 2026, 10:24 AM
Unknown Object (File)
Jul 6 2026, 1:43 PM
Unknown Object (File)
Apr 17 2026, 7:25 PM
Subscribers
None
Tokens
"Like" token, awarded by nfirmani.

Details

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.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable