mirror of
https://gitlab.com/octospacc/Snippets.git
synced 2025-06-27 09:02:56 +02:00
Auto-Backup $'Mon Mar 24 2025 00:31:42 GMT+0100 (Central European Standard Time)'
This commit is contained in:
@@ -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' ) {
|
||||
|
Reference in New Issue
Block a user