Files
gitocean/modules
Gergely Nagy cd17eb0fa7 activitypub: Sign the Host header too
Mastodon with `AUTHORIZED_FETCH` enabled requires the `Host` header to
be signed too, add it to the default for `setting.Federation.GetHeaders`
and `setting.Federation.PostHeaders`.

For this to work, we need to sign the request later: not immediately
after `NewRequest`, but just before sending them out with `client.Do`.
Doing so also lets us use `setting.Federation.GetHeaders` (we were using
`.PostHeaders` even for GET requests before).

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-08-04 23:57:48 +02:00
..
2024-05-29 18:31:06 +02:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2023-11-03 15:21:05 +00:00
2024-07-17 23:07:41 +02:00
2024-05-14 08:31:34 +02:00