text

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderAccept         = "Accept"
	HeaderAcceptCharset  = "Accept-Charset"
	HeaderAcceptEncoding = "Accept-Encoding"
	HeaderAcceptLanguage = "Accept-Language"
	HeaderAcceptRanges   = "Accept-Ranges"

	HeaderAge           = "Age"
	HeaderAllow         = "Allow"
	HeaderAlternates    = "Alternates"
	HeaderAuthorization = "Authorization"

	HeaderCacheControl = "Cache-Control"
	HeaderConnection   = "Connection"

	HeaderContentDisposition = "Content-Disposition"
	HeaderContentEncoding    = "Content-Encoding"
	HeaderContentLanguage    = "Content-Language"
	HeaderContentLength      = "Content-Length"
	HeaderContentLocation    = "Content-Location"
	HeaderContentMD5         = "Content-MD5"
	HeaderContentRange       = "Content-Range"
	HeaderContentType        = "Content-Type"
	HeaderContentVersion     = "Content-Version"

	HeaderDate        = "Date"
	HeaderDerivedFrom = "Derived-From"

	HeaderETag    = "ETag"
	HeaderExpect  = "Expect"
	HeaderExpires = "Expires"

	HeaderFrom = "From"

	HeaderHost = "Host"

	HeaderIfMatch           = "If-Match"
	HeaderIfModifiedSince   = "If-Modified-Since"
	HeaderIfNoneMatch       = "If-None-Match"
	HeaderIfRange           = "If-Range"
	HeaderIfUnmodifiedSince = "If-Unmodified-Since"

	HeaderLastModified = "Last-Modified"
	HeaderLink         = "Link"
	HeaderLocation     = "Location"

	HeaderMaxForwards = "Max-Forwards"
	HeaderMimeVersion = "MIME-Version"

	HeaderProxyAuthenticate  = "Proxy-Authenticate"
	HeaderProxyAuthorization = "Proxy-Authorization"

	HeaderPragma = "Pragma"
	HeaderPublic = "Public"

	HeaderRange      = "Range"
	HeaderReferer    = "Referer"
	HeaderRetryAfter = "Retry-After"

	HeaderServer = "Server"

	HeaderTitle            = "Title"
	HeaderTE               = "TE"
	HeaderTrailer          = "Trailer"
	HeaderTransferEncoding = "Transfer-Encoding"

	HeaderUpgrade = "Upgrade"

	HeaderUserAgent = "User-Agent"

	HeaderVary = "Vary"
	HeaderVia  = "Via"

	HeaderWarning         = "Warning"
	HeaderWWWAuthenticate = "WWW-Authenticate"
)
View Source
const (
	ContentTypeJson        = "application/json"
	ContentTypeXml         = "application/xml"
	ContentTypeOctetStream = "application/octet-stream"
)

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