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
F14725431: D19631.id46922.diff
Sat, Jan 18, 2:20 AM
Unknown Object (File)
Wed, Jan 8, 5:53 AM
Unknown Object (File)
Tue, Dec 31, 6:00 PM
Unknown Object (File)
Thu, Dec 19, 7:21 PM
Unknown Object (File)
Dec 12 2024, 4:19 AM
Unknown Object (File)
Dec 7 2024, 11:05 AM
Unknown Object (File)
Dec 4 2024, 3:08 PM
Unknown Object (File)
Nov 28 2024, 1:53 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
Branch
http2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 20728
Build 28177: Run Core Tests
Build 28176: arc lint + arc unit