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
F13171404: D19631.diff
Tue, May 7, 10:22 AM
Unknown Object (File)
Fri, May 3, 5:30 AM
Unknown Object (File)
Tue, Apr 30, 6:46 PM
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
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