Skip to content

cpp-httplib 0.24.0 #231694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 30, 2025
Merged

cpp-httplib 0.24.0 #231694

merged 2 commits into from
Jul 30, 2025

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
Bug Fixes

Issue #2184, #2185: URL Encoding/Decoding Improvements (yhirose/cpp-httplib#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.

View the full release notes at https://github.com/yhirose/cpp-httplib/releases/tag/v0.24.0.


@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Jul 30, 2025
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jul 30, 2025
@BrewTestBot BrewTestBot enabled auto-merge July 30, 2025 03:19
@BrewTestBot BrewTestBot added this pull request to the merge queue Jul 30, 2025
Merged via the queue into main with commit 65265c5 Jul 30, 2025
22 checks passed
@BrewTestBot BrewTestBot deleted the bump-cpp-httplib-0.24.0 branch July 30, 2025 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants