diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 501e06396..679503731 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -513,6 +513,10 @@ const HTTP_SIGNATURE = { | |||
513 | HEADER_NAME: 'signature', | 513 | HEADER_NAME: 'signature', |
514 | ALGORITHM: 'rsa-sha256', | 514 | ALGORITHM: 'rsa-sha256', |
515 | HEADERS_TO_SIGN: [ '(request-target)', 'host', 'date', 'digest' ], | 515 | HEADERS_TO_SIGN: [ '(request-target)', 'host', 'date', 'digest' ], |
516 | REQUIRED_HEADERS: { | ||
517 | ALL: [ '(request-target)', 'host', 'date' ], | ||
518 | POST: [ '(request-target)', 'host', 'date', 'digest' ] | ||
519 | }, | ||
516 | CLOCK_SKEW_SECONDS: 1800 | 520 | CLOCK_SKEW_SECONDS: 1800 |
517 | } | 521 | } |
518 | 522 | ||