]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - warc/header.go
Unused function
[tofuproxy.git] / warc / header.go
index 388bf0926117e08c7cecb7a96fb371e2986fe8b4..61c18bd9b543e87728470c85b3c255b95475cd05 100644 (file)
@@ -22,14 +22,6 @@ import "strings"
 
 type Header map[string]string
 
-func splitKeyValue(line string) (string, string) {
-       parts := strings.SplitN(line, ":", 2)
-       if len(parts) != 2 {
-               return "", ""
-       }
-       return parts[0], strings.TrimSpace(parts[1])
-}
-
 func NewHeader() Header {
        return make(map[string]string)
 }