aboutsummaryrefslogtreecommitdiff
path: root/accept.go
diff options
context:
space:
mode:
Diffstat (limited to 'accept.go')
-rw-r--r--accept.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/accept.go b/accept.go
index b357cc4..6a15857 100644
--- a/accept.go
+++ b/accept.go
@@ -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))|$)")