Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Bug fixes source code.tar.gz | 2025-07-29 | 1.3 MB | |
Bug fixes source code.zip | 2025-07-29 | 1.4 MB | |
README.md | 2025-07-29 | 1.6 kB | |
Totals: 3 Items | 2.7 MB | 2 |
Bug Fixes
Issue [#2184], [#2185]: URL Encoding/Decoding Improvements (https://github.com/yhirose/cpp-httplib/pull/2190)
Files: httplib.h, test/test.cc - Added new RFC 3986 compliant URL encoding/decoding functions alongside existing JavaScript-style URI functions - Introduced encode_path_component(), decode_path_component(), encode_query_component(), decode_query_component() - Improved path and query component processing with proper encoding separation - Enhanced redirect handling with correct plus sign (+) processing in query parameters - Added comprehensive test case Issue2185_Online for GitHub redirect scenarios
Issue [#2187]: Accept Header Quality Value Parsing Exception Handling
Files: httplib.h - Improved exception handling for Accept header quality value parsing - Added exception-free implementation when CPPHTTPLIB_NO_EXCEPTIONS macro is defined - Replaced std::stod() with std::istringstream for more robust q-value parsing - Enhanced Accept header processing reliability
Issue [#2189]: Missing Client::set_max_timeout Method Implementation
Files: httplib.h - Added missing Client::set_max_timeout(time_t msec) method implementation - Maintained existing template version of set_max_timeout method - Improved API completeness for client timeout configuration
Summary
This release focuses on critical bug fixes that enhance the library's reliability and standard compliance. Key improvements include better URL processing, more robust HTTP header parsing, and complete client API implementation.