diff options
Diffstat (limited to 'accept.go')
-rw-r--r-- | accept.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,9 @@ package main -import "strings" -import "regexp" +import ( + "regexp" + "strings" +) // False positive for application/ld+ld, application/activity+ld, application/json+json var activityRegexp = regexp.MustCompile("application\\/(ld|json|activity)((\\+(ld|json))|$)") |