GoToSocial/internal/gtscontext
Milas Bowman af1a26a68f
[feature] Add Mastodon-compatible HTTP signature fallback (#2659)
On outgoing `GET` requests that are signed (e.g. authorized fetch),
if the initial request fails with `401`, try again, but _without_
the query parameters included in the HTTP signature.

This is primarily useful for compatibility with Mastodon; though
hopefully this can be removed in the not-too-distant future, as
they've started changing their behavior here.

Signed-off-by: Milas Bowman <devnull@milas.dev>
2024-02-19 11:18:17 +01:00
..
context.go [feature] Add Mastodon-compatible HTTP signature fallback (#2659) 2024-02-19 11:18:17 +01:00
log_hooks.go [chore] Refactor AP authentication, other small bits of tidying up (#1874) 2023-06-13 15:47:56 +01:00
wrap.go [chore] ensure worker contexts have request ID (#2120) 2023-08-15 17:01:01 +01:00