mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-30 22:38:07 +00:00
open_stream_() created a decoder whatever set_decompress() said, so a response stream decoded the body when decompression was disabled, and failed with UnsupportedContentEncoding in a build without that decoder. The buffered path already checks the option; the streaming path now does too. The new test covers open_stream() and stream::Get(). Fixes #2639.
1.0 MiB
1.0 MiB