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.
Click to show internal directories.
Click to hide internal directories.