aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgemini.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/libgemini.go b/libgemini.go
index 20fc137..94744ba 100644
--- a/libgemini.go
+++ b/libgemini.go
@@ -47,10 +47,8 @@ const (
47) 47)
48 48
49var ( 49var (
50 HeaderPattern = regexp.MustCompile("^(\\d\\d)[ \\t]+(.*)$") 50 HeaderPattern = regexp.MustCompile("^(\\d\\d)[ \\t]+(.*)$")
51 MimeTypePattern = regexp.MustCompile("^[-\\w.]+/[-\\w.]+") 51 GeminiLinkPattern = regexp.MustCompile("^=>[ \\t]*([^ \\t]+)(?:[ \\t]+(.*))?$")
52 MimeCharsetPattern = regexp.MustCompile("charset=([^ ;]+)")
53 GeminiLinkPattern = regexp.MustCompile("^=>[ \\t]*([^ \\t]+)(?:[ \\t]+(.*))?$")
54) 52)
55 53
56type GeminiHeader struct { 54type GeminiHeader struct {