Skip to content

Commit

Permalink
Merge pull request #3 from paynl/feature/http-2-compliant-headers
Browse files Browse the repository at this point in the history
Made signing headers lowercase to be compliant with the HTTP/2 spec
  • Loading branch information
paynl-wesley committed Nov 30, 2023
2 parents 1e81d0f + 676b0ae commit eacb60d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Methods/RequestSigningMethodInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eacb60d

Please sign in to comment.