Documentation ¶
Overview ¶
Package httpheader provides some common http header names.
Index ¶
Constants ¶
View Source
const ( UserAgent = "User-Agent" UserAuth = "Authorization" Accept = "Accept" Cookie = "Cookie" // Upgrade header. check websocket: // header["Connection"] == "Upgrade" and header["Upgrade"] == "websocket" Upgrade = "Upgrade" AcceptEnc = "Accept-Encoding" ContentType = "Content-Type" Connection = "Connection" XRealIP = "X-Real-IP" XForwardedFor = "X-Forwarded-For" XForwardedHost = "X-Forwarded-Host" XForwardedProto = "X-Forwarded-Proto" // XRequestedWith header. check ajax: header["X-Requested-With"] == XMLHttpRequest XRequestedWith = "X-Requested-With" )
some common http header names
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.