🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/go-http-utils/headers

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/go-http-utils/headers

v0.0.0-20181008091004-fed159eddc2a
Version published
Created

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"

FAQs

Package last updated on 08 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts