fix date header format
(cherry picked from commit bb11cd15d147ebbcc90b544788c9c2ef4925daa5)
This commit is contained in:
parent
13c05e7937
commit
7532358806
@ -87,7 +87,7 @@ class Activity {
|
|||||||
$headers = [
|
$headers = [
|
||||||
'Accept' => 'application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
'Accept' => 'application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
||||||
'Host' => $m['host'],
|
'Host' => $m['host'],
|
||||||
'Date' => datetime_convert('UTC','UTC', 'now', 'D, d M Y h:i:s \\G\\M\\T'),
|
'Date' => datetime_convert('UTC','UTC', 'now', 'D, d M Y H:i:s \\G\\M\\T'),
|
||||||
'(request-target)' => 'get ' . get_request_string($url)
|
'(request-target)' => 'get ' . get_request_string($url)
|
||||||
];
|
];
|
||||||
if (isset($token)) {
|
if (isset($token)) {
|
||||||
|
Reference in New Issue
Block a user