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
F15520369: D19631.id46922.diff
Sun, Apr 20, 5:58 AM
F15485115: D19631.diff
Wed, Apr 9, 9:50 PM
F15456411: D19631.id46922.diff
Sun, Mar 30, 9:31 AM
F15446753: D19631.id.diff
Thu, Mar 27, 8:03 PM
F15440047: D19631.diff
Wed, Mar 26, 10:49 AM
F15383461: D19631.diff
Mar 14 2025, 4:48 PM
Unknown Object (File)
Feb 22 2025, 2:34 AM
Unknown Object (File)
Feb 14 2025, 9:33 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