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)
Wed, Apr 23, 10:12 PM
Unknown Object (File)
Sun, Apr 20, 5:58 AM
Unknown Object (File)
Apr 9 2025, 9:50 PM
Unknown Object (File)
Mar 30 2025, 9:31 AM
Unknown Object (File)
Mar 27 2025, 8:03 PM
Unknown Object (File)
Mar 26 2025, 10:49 AM
Unknown Object (File)
Mar 14 2025, 4:48 PM
Unknown Object (File)
Feb 22 2025, 2:34 AM
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