go-http-utils/headers
GitHub: go-http-utils/headers
为 Go 语言开发者提供预定义的 HTTP 头部字段名常量及归一化函数,避免手写字符串带来的拼写和大小写错误。
Stars: 23 | Forks: 10
# headers
[](https://travis-ci.org/go-http-utils/headers)
[](https://coveralls.io/github/go-http-utils/headers?branch=master)
为 Gophers 提供的 HTTP header 常量。
## 安装
```
go get -u github.com/go-http-utils/headers
```
## 文档
https://godoc.org/github.com/go-http-utils/headers
## 用法
```
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"
```
标签:EVTX分析, Go, Ruby工具, SOC Prime, Syscall, Web开发, 常量库, 开发工具, 日志审计