Auto-Backup $'Mon Mar 24 2025 00:31:42 GMT+0100 (Central European Standard Time)'

This commit is contained in:
2025-03-24 01:09:54 +01:00
parent 72589d7592
commit 3245669f4b
2 changed files with 344 additions and 134 deletions

View File

@@ -26,9 +26,9 @@ if ( php_sapi_name() === 'cli' && $argv[1] ) {
return;
}
$headers = "X-NoProxy: 1\n";
$headers = "X-NoProxy: 1\ncontent-type: application/grpc-web+proto\n";
foreach ( getallheaders() as $key => $value ) {
if ( !$value || $key === 'Accept-Encoding' ) {
if ( !$value || $key === 'Accept-Encoding' || $key === 'Content-Type' ) {
continue;
}
if ( $key === 'Host' ) {