From 874228ec4993cdd1b46c1c502d1a33ce2ea5b67e Mon Sep 17 00:00:00 2001 From: Ciprian Dorin Craciun Date: Sun, 19 Dec 2021 17:44:26 +0200 Subject: [PATCH] [common] Move headers canonicalization from `server` to `common` module. --- sources/lib/{server => common}/headers.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) rename sources/lib/{server => common}/headers.go (98%) diff --git a/sources/lib/server/headers.go b/sources/lib/common/headers.go similarity index 98% rename from sources/lib/server/headers.go rename to sources/lib/common/headers.go index 3ecbcee..6ab68d0 100644 --- a/sources/lib/server/headers.go +++ b/sources/lib/common/headers.go @@ -1,6 +1,6 @@ -package server +package common import "fmt" @@ -8,9 +8,6 @@ import "net/http" import "strings" -import . "github.com/volution/kawipiko/lib/common" - - func CanonicalHeaderNameFromBytes (_header []byte) (string) {