Skip to content

Commit

Permalink
get method
Browse files Browse the repository at this point in the history
  • Loading branch information
qkqpttgf authored Jan 27, 2022
1 parent 4d6cecd commit 5274405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/TencentSCF_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ function GetPathSetting($event, $context)
$_SERVER['referhost'] = explode('/', $event['headers']['referer'])[2];
$_SERVER['HTTP_TRANSLATE'] = $event['headers']['translate'];//'f'
$_SERVER['HTTP_IF_MODIFIED_SINCE'] = $event['headers']['if-modified-since'];
$_SERVER['REQUEST_METHOD'] = $event['httpMethod'];
$_SERVER['USER'] = 'qcloud';
return $path;
}
Expand Down

0 comments on commit 5274405

Please sign in to comment.