iconst

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIMEApplicationJSON            = "application/json"
	MIMEApplicationJSONCharsetUTF8 = "application/json; charset=utf-8"
	MIMEApplicationXML             = "application/xml"
	MIMEApplicationXMLCharsetUTF8  = "application/xml; charset=utf-8"
	MIMETextHTML                   = "text/html"
	MIMETextHTMLCharsetUTF8        = "text/html; charset=utf-8"
	MIMETextPlain                  = "text/plain"
	MIMETextPlainCharsetUTF8       = "text/plain; charset=utf-8"
	MIMEOctetStream                = "application/octet-stream"
	MIMEApplicationForm            = "application/x-www-form-urlencoded"
)

MIME types

View Source
const (
	HeaderAuthorization  = "Authorization"    // Requests
	HeaderContentType    = "Content-Type"     // Requests, Responses
	HeaderUserAgent      = "User-Agent"       // Requests
	HeaderXRequestID     = "X-Request-Id"     // Requests
	HeaderXRealIP        = "X-Real-Ip"        // Requests
	HeaderXForwardedFor  = "X-Forwarded-For"  // Requests
	HeaderXForwardedHost = "X-Forwarded-Host" // Requests
)

HTTP Header Fields

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