summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-06-06 13:50:56 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-06 12:50:56 +0100
commit131020faeb4c65e9a787ac61debc4c2142b103b4 (patch)
tree9ea29f2834e4ec258bdc67e86ed23c824fa55cc5 /internal
parent[feature] do not uncache status / emoji media if attached status is bookmarke... (diff)
downloadgotosocial-131020faeb4c65e9a787ac61debc4c2142b103b4.tar.xz
drop date (#2969)
Diffstat (limited to 'internal')
-rw-r--r--internal/transport/signing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/transport/signing.go b/internal/transport/signing.go
index e33e4a05f..fa15eee5e 100644
--- a/internal/transport/signing.go
+++ b/internal/transport/signing.go
@@ -25,8 +25,8 @@ var (
// http signer preferences
prefs = []httpsig.Algorithm{httpsig.RSA_SHA256}
digestAlgo = httpsig.DigestSha256
- getHeaders = []string{httpsig.RequestTarget, "host", "date"}
- postHeaders = []string{httpsig.RequestTarget, "host", "date", "digest"}
+ getHeaders = []string{httpsig.RequestTarget, "(created)", "host"}
+ postHeaders = []string{httpsig.RequestTarget, "(created)", "host", "digest"}
)
// NewGETSigner returns a new httpsig.Signer instance initialized with GTS GET preferences.