[common] Move headers canonicalization from server to common module.

This commit is contained in:
Ciprian Dorin Craciun 2021-12-19 17:44:26 +02:00
parent 5771b8e56d
commit 874228ec49

View file

@ -1,6 +1,6 @@
package server package common
import "fmt" import "fmt"
@ -8,9 +8,6 @@ import "net/http"
import "strings" import "strings"
import . "github.com/volution/kawipiko/lib/common"
func CanonicalHeaderNameFromBytes (_header []byte) (string) { func CanonicalHeaderNameFromBytes (_header []byte) (string) {