github yhirose/cpp-httplib v0.34.0

9 hours ago

New Features

  • Added make_file_body function to send file binaries via POST (with Content-Length)
    • Added usage instructions and examples to README.md
    • Example:
      auto [size, provider] = httplib::make_file_body("/path/to/data.bin");
      auto res = cli.Post("/upload", size, provider, "application/octet-stream");

Changes in Behavior and Contents

  • Revised description of file upload using make_file_provider
    • Corrected explanation to indicate chunked transfer encoding instead of Content-Length

Build & Benchmark Related

  • Updated Crow library version from v1.2.0 to v1.3.1 (for benchmark code)
  • benchmark/Make

Bug Fixes

  • Fixed bugs caused by the recent performance improvement made at f29bb15

Don't miss a new cpp-httplib release

NewReleases is sending notifications on new releases.