From 676b0aeaf55f12cb9a1030faf7f4a28f8c0f8570 Mon Sep 17 00:00:00 2001 From: Kevin Jansen Date: Thu, 30 Nov 2023 09:45:53 +0100 Subject: [PATCH] Made signing headers lowercase to be compliant with the HTTP/2 spec --- src/Methods/RequestSigningMethodInterface.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Methods/RequestSigningMethodInterface.php b/src/Methods/RequestSigningMethodInterface.php index cc8e3e9..1f94118 100644 --- a/src/Methods/RequestSigningMethodInterface.php +++ b/src/Methods/RequestSigningMethodInterface.php @@ -9,10 +9,10 @@ interface RequestSigningMethodInterface { - public const SIGNATURE_HEADER = 'Signature'; - public const SIGNATURE_KEY_ID_HEADER = 'Signature-KeyID'; - public const SIGNATURE_METHOD_HEADER = 'Signature-Method'; - public const SIGNATURE_ALGORITHM_HEADER = 'Signature-Algorithm'; + public const SIGNATURE_HEADER = 'signature'; + public const SIGNATURE_KEY_ID_HEADER = 'signature-keyid'; + public const SIGNATURE_METHOD_HEADER = 'signature-method'; + public const SIGNATURE_ALGORITHM_HEADER = 'signature-algorithm'; /** * Generate a signature for a given request using the specified key and algorithm.