mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-02 22:38:08 -06:00
drop date (#2969)
This commit is contained in:
parent
5dcc954072
commit
131020faeb
2 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue