httpheader

package
v0.0.0-...-3839eb7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Origin                     = "origin"
	AccessControlRequestMethod = "Access-Control-Request-Method"
)

cors client request header

View Source
const (
	AccessControlAllowOrigin      = "Access-Control-Allow-Origin"
	AccessControlAllowHeaders     = "Access-Control-Allow-AccessAllowHeaders"
	AccessControlAllowMethods     = "Access-Control-Allow-AccessAllowsMethods"
	AccessControlExposeHeaders    = "Access-Control-Expose-AccessAllowHeaders"
	AccessControlMaxAge           = "Access-Control-Max-Age"
	AccessControlAllowCredentials = "Access-Control-Allow-Credentials"
)

cors server response header

View Source
const (
	ContentType     = "Content-Type"
	XForwardFor     = "X-Forwarded-For"
	AcceptLanguage  = "Accept-Language"
	ContentLanguage = "Content-Language"
	Authorization   = "Authorization"
	BearerToken     = "Bearer "
)
View Source
const (
	RequestIdHeader = "X-Request-ID"
)

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