Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HopHeaders = []string{
"Connection",
"Proxy-Connection",
"Keep-Alive",
"Proxy-Authenticate",
"Proxy-Authorization",
"Te",
"Trailer",
"Transfer-Encoding",
"Upgrade",
}
HopHeaders - List of Ho-by-hop headers. Hop-by-hop headers. These are removed when sent to the backend. As of RFC 7230, hop-by-hop headers are required to appear in the Connection header field. These are the headers defined by the obsoleted RFC 2616 (section 13.5.1) and are used for backward compatibility.
Functions ¶
func ServeCachedResponse ¶
func ServeCachedResponse(ctx context.Context, lwr *response.LoggedResponseWriter, uriobj cache.URIObj)
ServeCachedResponse - Serve a cached response.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.