mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 07:22:24 -05:00
* [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.
* [bugfix] Concat accept header in webfinger
Some implementations bug out when there's multiple accept headers,
including Gin (see
|
||
|---|---|---|
| .. | ||
| controller.go | ||
| deliver.go | ||
| dereference.go | ||
| derefinstance.go | ||
| derefmedia.go | ||
| finger.go | ||
| finger_test.go | ||
| signing.go | ||
| transport.go | ||
| transport_test.go | ||