http

package
v0.0.0-...-eca08dd Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeaderAccept          = "Accept"
	HeaderAcceptEncoding  = "Accept-Encoding"
	HeaderAuth            = "Authorization"
	HeaderAuthorization   = "Authorization"
	HeaderCacheControl    = "Cache-Control"
	HeaderContentLength   = "Content-Length"
	HeaderContentType     = "Content-Type"
	HeaderDNT             = "DNT"
	HeaderIfModifiedSince = "If-Modified-Since"
	HeaderKeepAlive       = "Keep-Alive"
	HeaderOrigin          = "Origin"
	HeaderRange           = "Range"
	HeaderUserAgent       = "User-Agent"

	HeaderCSRFToken     = "X-CSRF-Token"
	HeaderCustomHeader  = "X-CustomHeader"
	HeaderRequestedWith = "X-Requested-With"
	HeaderRequestID     = "X-Request-ID"
	HeaderRequiredRole  = "X-Required-Role"
)

Headers

View Source
const (
	ContentTypeJSON = "application/json"

	// TODO: Ensure that the API complies with RFC 7807
	ContentTypeProblemJSON = "application/problem+json"
)

Content types

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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