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
Unknown Object (File)
Thu, Apr 25, 12:54 AM
Unknown Object (File)
Tue, Apr 16, 8:28 PM
Unknown Object (File)
Tue, Apr 9, 5:13 AM
Unknown Object (File)
Feb 8 2024, 2:28 PM
Unknown Object (File)
Jan 4 2024, 11:29 AM
Unknown Object (File)
Jan 4 2024, 8:36 AM
Unknown Object (File)
Dec 27 2023, 12:50 PM
Unknown Object (File)
Dec 27 2023, 12:50 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