Skip to content

Commit 9a22c47

Browse files
committed
Date is always absent from headers
1 parent 2b80d89 commit 9a22c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/servers/workerman/WorkermanServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function run($host, $port, $options = []) {
121121

122122
protected function handle(ConnectionInterface $connection,$datas) {
123123
//$_REQUEST['REQUEST_TIME_FLOAT']=\microtime(true);
124-
//Http::header('Date: '.gmdate('D, d M Y H:i:s').' GMT');
124+
Http::header('Date: '.\gmdate('D, d M Y H:i:s').' GMT');
125125
$_GET['c'] = '';
126126
$uri = \ltrim(\urldecode(\parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)), '/');
127127
if (($uri == null || ! ($fe=\file_exists($this->basedir . '/../' . $uri))) && ($uri!='favicon.ico')) {

0 commit comments

Comments
 (0)