gotosocial/internal/api/util
Daniele Sluijters 7050112af1 [bugfix] Fix NegotiateAccept with multi accept
There's a bug in Gin's NegotiateFormat that doesn't handle the presence
of multilpe accept headers. This lifts the code from the PR @tsmethurst
sent a year ago to Gin into our codebase to fix the issue.
2023-05-16 13:55:49 +02:00
..
errorhandling.go [chore] Prefer JSON errors in API endpoints (#1766) 2023-05-12 10:16:41 +02:00
mime.go [bugfix] Serve correct 'application/jrd+json' content type for webfinger requests (#1738) 2023-05-04 12:28:50 +02:00
negotiate.go [bugfix] Fix NegotiateAccept with multi accept 2023-05-16 13:55:49 +02:00
negotiate_test.go [bugfix] Fix NegotiateAccept with multi accept 2023-05-16 13:55:49 +02:00
signaturectx.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00