New Features
- Added
make_file_bodyfunction to send file binaries viaPOST(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");
- Added usage instructions and examples to
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.0tov1.3.1(for benchmark code) benchmark/Make
Bug Fixes
- Fixed bugs caused by the recent performance improvement made at f29bb15