| 3184 | } |
| 3185 | |
| 3186 | inline bool nocompressor::compress(const char *data, size_t data_length, |
| 3187 | bool /*last*/, Callback callback) { |
| 3188 | if (!data_length) { return true; } |
| 3189 | return callback(data, data_length); |
| 3190 | } |
| 3191 | |
| 3192 | #ifdef CPPHTTPLIB_ZLIB_SUPPORT |
| 3193 | inline gzip_compressor::gzip_compressor() { |
no test coverage detected