You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Signature": "keyId=\"https://author.hostname/key\",algorithm=\"rsa-sha256\",headers=\"content-length date digest host\",signature=\"DzN12OCS1rsA[...]o0VmxjQooRo6HHabg==\""
934
934
}
935
935
~~~~~
936
936
937
-
* '(request-target)' contains the reached endpoint and the used
938
-
method,
937
+
* '@request-target' (optional) contains the reached endpoint and
938
+
the used method,
939
939
* 'content-length' is the total length of the payload of the
940
940
request,
941
941
* 'date' is the date and time when the request has been
942
942
sent,
943
-
* 'digest' is a checksum of the payload of the
943
+
* 'content-digest' is a checksum of the payload of the
944
944
request,
945
945
* 'host' is the hostname of the recipient of the request (remote when
946
946
signing outgoing request, local on incoming request),
@@ -953,7 +953,7 @@ and details on its generation:
953
953
signature
954
954
* 'signature' the signature of an array containing the properties
955
955
listed in 'headers'. Some properties like content-length, date,
956
-
digest, and host are mandatory to protect against authenticity
956
+
content-digest, and host are mandatory to protect against authenticity
957
957
override.
958
958
959
959
@@ -967,18 +967,17 @@ outgoing requests:
967
967
968
968
~~~~~
969
969
headers = {
970
-
'(request-target)': 'post /path',
971
970
'content-length': length_of(payload),
972
971
'date': current_gmt_datetime(), # Use a function to get the current GMT date as 'D, d M Y H:i:s T'
0 commit comments