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)
Sat, Feb 22, 2:34 AM
Unknown Object (File)
Fri, Feb 14, 9:33 AM
Unknown Object (File)
Jan 30 2025, 8:21 AM
Unknown Object (File)
Jan 29 2025, 9:34 PM
Unknown Object (File)
Jan 29 2025, 1:35 PM
Unknown Object (File)
Jan 21 2025, 11:46 AM
Unknown Object (File)
Jan 21 2025, 9:54 AM
Unknown Object (File)
Jan 18 2025, 2:20 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