On Thu, Mar 28, 2024 at 7:19 AM Dominique Devienne
Are you still limiting yourself to HTTP 1.1, or is HTTP 2, and possibly HTTP 3 in the future, in scope?
Yes this will be HTTP/1 only. Implementing the newer protocols is an enormous undertaking and doesn't offer the same value for the amount of work needed. It is also a thousand times less fun, as these protocols were designed for the needs of big tech companies and not someone who just wants to write a small, simple network program.
What about encryption? Standard ones are gzip and brotli for HTTP. Or the recent [Zstd][1] one? --DD
I think you mean compression, and yes - automatic addition and removal of transfer-encoding and content-encoding is IN SCOPE ! :) And this will work without requiring #ifdef to indicate if you have ZLIB support, this way there is only one version of the static or dynamic http-proto library instead of many depending on macros). There's a run-time dependency injection thing going on to support this. Thanks