HTTPRequest
HTTPRequest copied to clipboard
Fix three critical code bugs
Fix three critical bugs in HTTPRequest.hpp for IPv6 URI parsing, Transfer-Encoding header handling, and chunk size parsing.
parseUrinow correctly handles IPv6 bracketed hosts and optional ports (e.g.,[::1]:80).Transfer-Encodingheader parsing is now case-insensitive and correctly tokenizes comma-separated values, accepting "chunked" and rejecting unsupported encodings.- Chunk size parsing now correctly ignores chunk extensions after a semicolon, as specified by RFC 7230.
Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents