mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 17:13:13 -05:00
Titles import sceHttpParseStatusLine from libSceHttp to read the status line of a response; without the export they fail at startup. Parse the HTTP/x.y version, the three-digit code and the reason phrase up to the line feed, and return the library's PARSE_HTTP error codes. The seven-argument signature is the one SharpProspero declares; the behaviour follows the shadPS4 reimplementation of the PS4 library, except that no byte past lineLen is read. A consumed count above INT32_MAX cannot be returned and throws. guest_http covers valid lines and each error path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>