<commit_before><?php

return [
    'support_credentials' => false,
    'allowed_origins' => [$_SERVER['HTTP_ORIGIN']],
    'allowed_headers' => [$_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']],<commit_msg>Add $_SERVER headers in headers.php<commit_after><?php

$allowedHeaders = [];
$allowedOrigins = [];

if (isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'])) {
    array_push($allowedHeaders, $_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']);
}

if (isset($_SERVER['HTTP_ORIGIN'])) {
    array_push($allowedOrigins, $_SERVER['HTTP_ORIGIN']);
}

return [
    'support_credentials' => false,
    'allowed_origins' => $allowedOrigins,
    'allowed_headers' => $allowedHeaders,
{'fraction_non_alphanumeric': 0.1644640234948605, 'fraction_numerical': 0.0, 'mean_word_length': 7.216867469879518, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1839169', 'n_tokens_mistral': 224, 'n_tokens_neox': 227, 'n_words': 29}