[php-src] Issue #11433: Unable to set `CURLOPT_ACCEPT_ENCODING` to `NULL`

From: Date: Mon, 12 Jun 2023 09:26:08 +0000
Subject: [php-src] Issue #11433: Unable to set `CURLOPT_ACCEPT_ENCODING` to `NULL`
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244664@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11433 Author: gnif ### Description According to the CURL documentation (https://curl.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html) setting CURLOPT_ACCEPT_ENCODING to a null value (not an empty string) will prevent it from decompressing the returned data stream. This is desirable in a caching/proxy scenario. Currently this is not possible as PHP will always provide a string to this value. ### PHP Version 8.1.20 ### Operating System Debian 11

« previous php.bugs (#244664) next »