Skip to content

Commit

Permalink
Change Accept MIME stack to prioritize ActivityPub
Browse files Browse the repository at this point in the history
  • Loading branch information
benpate committed Jul 4, 2023
1 parent 6a59a07 commit b81c59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/following.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

// followingMimeStack lists the preferred mime types for follows
const followingMimeStack = "text/html; q=1.0, application/activity+json; q=0.9, application/feed+json; q=0.8, application/atom+xml; q=0.7, application/rss+xml; q=0.6, text/xml; q=0.5, */*; q=0.1"
const followingMimeStack = "application/activity+json; q=1.0, text/html; q=0.9, application/feed+json; q=0.8, application/atom+xml; q=0.7, application/rss+xml; q=0.6, text/xml; q=0.5, */*; q=0.1"

// Following manages all interactions with the Following collection
type Following struct {
Expand Down

0 comments on commit b81c59f

Please sign in to comment.