<commit_before>--TEST--
get request data
--SKIPIF--
<?php
include 'skip.inc';
?>
--ENV--
HTTP_ACCEPT_CHARSET=iso-8859-1, *
HTTP_USER_AGENT=Mozilla/5.0
--POST--
a=b&c=d
--FILE--
<?php
echo "-TEST\n";
$h = http_get_request_headers();
ksort($h);
print_r($h);
$b = http_get_request_body();
if (php_sapi_name() == 'cli' || $b == 'a=b&c=d') {
	echo "OK\n";
}
?>
===DONE===
--EXPECTF--
%sTEST
Array
(
    [Accept-Charset] => iso-8859-1, *
    [User-Agent] => Mozilla/5.0
)
OK
===DONE===<commit_msg>- preventively set Accept-Encoding<commit_after>--TEST--
get request data
--SKIPIF--
<?php
include 'skip.inc';
?>
--ENV--
HTTP_ACCEPT_CHARSET=iso-8859-1, *
HTTP_ACCEPT_ENCODING=none
HTTP_USER_AGENT=Mozilla/5.0
--POST--
a=b&c=d
--FILE--
<?php
echo "-TEST\n";
$h = http_get_request_headers();
ksort($h);
print_r($h);
$b = http_get_request_body();
if (php_sapi_name() == 'cli' || $b == 'a=b&c=d') {
	echo "OK\n";
}
?>
===DONE===
--EXPECTF--
%sTEST
Array
(
    [Accept-Charset] => iso-8859-1, *
    [Accept-Encoding] => none
    [User-Agent] => Mozilla/5.0
)
OK
===DONE===
{'fraction_non_alphanumeric': 0.24929178470254956, 'fraction_numerical': 0.02644003777148253, 'mean_word_length': 3.8847926267281108, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '645555', 'n_tokens_mistral': 498, 'n_tokens_neox': 480, 'n_words': 85}