Skip to content

Releases: yhirose/cpp-httplib

set_mount_point accepts HTTP headers

11 Oct 01:18
6d60dc8
Compare
Choose a tag to compare
Add `cache_control` parameter to `set_mount_point` (#688)

* Add `cache_control` parameter to `set_mount_point`

Specifies the Cache-Control header value to return when specified. For example:

```
svr.set_mount_point("/assets", "public/assets", "public, max-age=604800, immutable");
```

* Add default for cache_control

Default to "no-cache", which is implicitly what is happening today.

* Change set_mount_point to accept Headers

* Don't use C++17 destructuring

Fix for '100 Continue' problem on client

26 Sep 09:03
Compare
Choose a tag to compare

Added CPPHTTPLIB_COMPRESSION_BUFSIZ

08 Sep 16:19
3da4a0a
Compare
Choose a tag to compare
Add compression buffer size customization (#644)

* add compression buffer size customization and small brotli refactor

* allocat brotli buffer once

* add init to brotli decoder buffer

Fixed various bugs

03 Sep 17:24
852a374
Compare
Choose a tag to compare
v0.7.6

Fix server crash caused due to regex complexity while matching header…

Content provider without content length

17 Aug 02:31
Compare
Choose a tag to compare

Brotli support on server

08 Aug 12:19
Compare
Choose a tag to compare
v0.7.4

Fixed example build errors

KeepAlive problem with a read time out client request

30 Jul 22:31
Compare
Choose a tag to compare

Brotli compression support on client

28 Jul 21:25
342c3ab
Compare
Choose a tag to compare
Add Brotli Cmake support (#584)

Had to create a custom FindBrotli package, as not all users have
PkgConfig installed (which Brotli uses). This file gets installed
alongside httplibConfig.cmake for the end-users convenience.

Set BROTLI_USE_STATIC_LIBS to ON if you want to find the static libs
instead of default shared.

Adds the HTTPLIB_REQUIRE_BROTLI (default off) and HTTPLIB_USE_BROTLI_IF_AVAILABLE
(default on) options, which work in the same manner as the other optional/required
dependency options.

Moved the scattered linking and definitions to a single call.

Updated some documentation about the new options.

Improved the in-tree support by setting the HTTPLIB_IS_USING_XYZ
variables in the main CMakeLists (as well as having them in the
httplibConfig.cmake file).

Fixes #582

Use the default ca bundle in system

14 Jul 12:00
Compare
Choose a tag to compare

Better support for Keep-alive on the client side

16 Jun 21:55
Compare
Choose a tag to compare

New Keep-Alive support on Client which supersedes the old batch style Keep-Alive API.