httpconsts

package
v0.0.0-...-affaa53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderContentType          = "Content-Type"
	HeaderAuthorization        = "Authorization"
	HeaderAccessToken          = "Access-Token"
	HeaderCSRFToken            = "X-csrf-token"
	HeaderUserAgent            = "User-Agent"
	HeaderXForwardedProto      = "X-Forwarded-Proto"
	HeaderXForwardedFor        = "X-Forwarded-For"
	HeaderXForwardedHost       = "X-Forwarded-Host"
	HeaderXForwardedClientCert = "X-Forwarded-Client-Cert"
	HeaderCSRFTokenVal         = "fetch"
	HeaderAccept               = "Accept"
	HeaderAcceptVal            = "*/*"
	HeaderCacheControl         = "cache-control"
	HeaderCacheControlVal      = "no-cache"
)
View Source
const (
	ContentTypeApplicationJson       = "application/json;charset=UTF-8"
	ContentTypeApplicationURLEncoded = "application/x-www-form-urlencoded"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL