how can I disable http request header with PHP-FPM 7.4
content-encoding: gzip
I tried with putenv() but it's just adding a new entry but not overriding
//$_SERVER['HTTP_ACCEPT_ENCODING'] ="identity";
header("Content-Encoding: identity");
putenv('no-gzip=1');
ini_set('zlib.output_compression', '0');
ini_set('zlib.output_compression_level', '-1');
.
.
.
.
.
$length = ob_get_length();
header("Content-Length: $length");
session_write_close();