summaryrefslogtreecommitdiff
path: root/internal/api/s2s/user/user.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-16 11:35:09 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-16 11:35:09 +0200
commit92186c8c6f1c374146f085b46a440b69a1d97aa8 (patch)
tree06d7aea58ee399c4939ffa9052bcc548427cbfa4 /internal/api/s2s/user/user.go
parentFix mentions not notifying (#230) (diff)
downloadgotosocial-92186c8c6f1c374146f085b46a440b69a1d97aa8.tar.xz
federated authentication better logging + tidying (#232)
* change trace logging in authenticator * messing about * lil changes * go fmt * error fix * Fix broken test
Diffstat (limited to 'internal/api/s2s/user/user.go')
-rw-r--r--internal/api/s2s/user/user.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/internal/api/s2s/user/user.go b/internal/api/s2s/user/user.go
index b5ff9a699..cd57ab14e 100644
--- a/internal/api/s2s/user/user.go
+++ b/internal/api/s2s/user/user.go
@@ -61,13 +61,6 @@ const (
UsersStatusRepliesPath = UsersStatusPath + "/replies"
)
-// ActivityPubAcceptHeaders represents the Accept headers mentioned here:
-// https://www.w3.org/TR/activitypub/#retrieving-objects
-var ActivityPubAcceptHeaders = []string{
- `application/activity+json`,
- `application/ld+json; profile="https://www.w3.org/ns/activitystreams"`,
-}
-
// Module implements the FederationAPIModule interface
type Module struct {
config *config.Config