header

package
v1.0.0-...-3087924 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Accept header
	Accept = `Accept`

	// AcceptEncoding header
	AcceptEncoding = `Accept-Encoding`

	// AcceptLanguage Accept-Language header
	AcceptLanguage = `Accept-Language`

	// AcceptCharset Accept-Charset header
	AcceptCharset = `Accept-Charset`

	// Allow request methods
	Allow = `Allow`

	// Authorization header
	Authorization = `Authorization`

	// ContentDisposition header
	ContentDisposition = `Content-Disposition`

	// ContentEncoding header
	ContentEncoding = `Content-Encoding`

	// ContentLength header
	ContentLength = `Content-Length`

	// ContentType header
	ContentType = `Content-Type`

	// IfModifiedSince header
	IfModifiedSince = `If-Modified-Since`

	// IfMatch If-Match header
	IfMatch = `If-Match`

	// IfNoneMatch If-None-Match header
	IfNoneMatch = `If-None-Match`

	// IfRange If-Range header
	IfRange = `If-Range`

	// IfUnmodifiedSince If-Unmodified-Since header
	IfUnmodifiedSince = `If-Unmodified-Since`

	// LastModified header
	LastModified = `Last-Modified`

	// Location header
	Location = `Location`

	// Upgrade header
	Upgrade = `Upgrade`

	// Vary header
	Vary = `Vary`

	// WWWAuthenticate header
	WWWAuthenticate = `WWW-Authenticate`

	// XForwardedFor header
	XForwardedFor = `X-Forwarded-For`

	// XForwardedProto header
	XForwardedProto = `X-Forwarded-Proto`

	// XScheme header
	XScheme = `X-Scheme`

	// XRealIP header
	XRealIP = `X-Real-IP`

	// Origin header
	Origin = `Origin`

	// AccessControlRequestMethod header
	AccessControlRequestMethod = `Access-Control-Request-Method`

	// AccessControlRequestHeaders header
	AccessControlRequestHeaders = `Access-Control-Request-Headers`

	// AccessControlAllowOrigin header
	AccessControlAllowOrigin = `Access-Control-Allow-Origin`

	// AccessControlAllowMethods header
	AccessControlAllowMethods = `Access-Control-Allow-Methods`

	// AccessControlAllowHeaders header
	AccessControlAllowHeaders = `Access-Control-Allow-Headers`

	// AccessControlAllowCredentials header
	AccessControlAllowCredentials = `Access-Control-Allow-Credentials`

	// AccessControlExposeHeaders header
	AccessControlExposeHeaders = `Access-Control-Expose-Headers`

	// AccessControlMaxAge header
	AccessControlMaxAge = `Access-Control-Max-Age`

	// MsEchoRequest Ms-Echo-Request header
	MsEchoRequest = `Ms-Echo-Request`

	// RetryAfter Retry-After header
	RetryAfter = `Retry-After`

	// Referer header
	Referer = `Referer`

	// UserAgent User-Agent header
	UserAgent = `User-Agent`

	// Pragma header
	Pragma = `Pragma`

	// CacheControl Cache-Control header
	CacheControl = `Cache-Control`

	// Expires header
	Expires = `Expires`

	// ETag header
	ETag = `ETag`

	// Range Range header
	Range = `Range`

	// AcceptRanges Accept-Ranges header
	AcceptRanges = `Accept-Ranges`

	// ContentRange Content-Range header
	ContentRange = `Content-Range`

	// Date header
	Date = `Date`

	// XUserAgent X-User-Agent header. Аналог User-Agent
	XUserAgent = `X-User-Agent`

	// XConnectionType X-Connection-Type header. Тип подключения, значения: ["3g", "wifi", "cable", "broadband", ...]
	XConnectionType = `X-Connection-Type`

	// XInternetServiceProvider X-Internet-Service-Provider header. Расширенная сегментация типа подключения по ISP (интернет-провайдер)
	XInternetServiceProvider = `X-Internet-Service-Provider`

	// XCarrier X-Carrier header. Расширенный тип мобильного трафика, значения: ["tele2", "mts", ...]
	XCarrier = `X-Carrier`

	// XTimeZone X-Time-Zone header. Значения: [0, 3, -1, 12, ...]
	XTimeZone = `X-Time-Zone`

	// XDayOfWeek X-Day-Of-Week header. День недели, значения: [0,1,2,3,4,5,6] 0=пнд, -1=не известен
	XDayOfWeek = `X-Day-Of-Week`

	// XGeoContinent X-Geo-Continent header. Географический континент
	XGeoContinent = `X-Geo-Continent`

	// XGeoRegion X-Geo-Region header. Географический регион
	XGeoRegion = `X-Geo-Region`

	// XGeoCountry X-Geo-Country header. Страна
	XGeoCountry = `X-Geo-Country`

	// XGeoCity X-Geo-City header. Город
	XGeoCity = `X-Geo-City`

	// XDeviceManufacturer X-Device-Manufacturer header. Производитель/Марка устройства
	XDeviceManufacturer = `X-Device-Manufacturer`

	// XDeviceModel X-Device-Model header. Модель устройства
	XDeviceModel = `X-Device-Model`

	// XScreenSize X-Screen-Size header. Разрешение экрана
	XScreenSize = `X-Screen-Size`

	// XProxyType X-ProxyType header. Тип прокси, значения: ["vpn", "tor", "dch", "pub", "web"]
	XProxyType = `X-ProxyType`

	// XRedefinitionDeny X-Redefinition-Deny header. Запрет переопределения значений маркеров, значения: ["all", "query", "path", "entrypoint"]
	XRedefinitionDeny = `X-Redefinition-Deny`

	// AutoSubmitted Auto-Submitted header
	AutoSubmitted = `Auto-Submitted`

	// DeliveredTo Delivered-To header
	DeliveredTo = `Delivered-To`

	// MessageID Message-Id header
	MessageID = `Message-Id`

	// Received header
	Received = `Received`

	// ReturnPath Return-Path header
	ReturnPath = `Return-Path`

	// MailPriority Header for mail messages: Priority
	MailPriority = `Priority`

	// MailXPriority Header for mail messages: X-Priority
	MailXPriority = `X-Priority`

	// MailMSMailPriority Header for mail messages: X-MSMail-Priority
	MailMSMailPriority = `X-MSMail-Priority`

	// MailImportance Header for mail messages: Importance
	MailImportance = `Importance`

	// XFailedRecipients X-Failed-Recipients header
	XFailedRecipients = `X-Failed-Recipients`

	// XRequestedWith X-Requested-With header
	XRequestedWith = `X-Requested-With`

	// XProjectID The X-Project-Id header
	XProjectID = `X-Project-Id`

	// XCoreSDToken The X-Coresd-Token header
	XCoreSDToken = `X-Coresd-Token`

	// XCaptchaType X-Captcha-Type header
	XCaptchaType = `X-Captcha-Type`

	// XRecaptchaSiteKey X-Recaptcha-Site-Key header
	XRecaptchaSiteKey = `X-Recaptcha-Site-Key`

	// XRegistrationInviteCode X-Registration-Invite-Code header
	XRegistrationInviteCode = `X-Registration-Invite-Code`
)

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