Skip to content

go-http-utils/headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

headers

Build Status Coverage Status

HTTP header constants for Gophers.

Installation

go get -u github.com/go-http-utils/headers

Documentation

https://godoc.org/github.com/go-http-utils/headers

Usage

import (
  "fmt"

  "github.com/go-http-utils/headers"
)

fmt.Println(headers.AcceptCharset)
// -> "Accept-Charset"

fmt.Println(headers.IfNoneMatch)
// -> "If-None-Match"

fmt.Println(headers.Normalize("content-type"))
// -> "Content-Type"