JNyaa / headers

:family:HTTP header constants for Gophers

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

:family:HTTP header constants for Gophers

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

License:MIT License


Languages

Language:Go 100.0%