Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearCookieHeader ¶
ClearCookieHeader clear cookie header, except for cookies specified to be kept.
func PrepareProxyRequest ¶
PrepareProxyRequest prepares a request for being proxied. Removes X-Forwarded-Host, X-Forwarded-Port, X-Forwarded-Proto headers. Set X-Forwarded-For headers.
func SetProxyResponseHeaders ¶
SetProxyResponseHeaders sets proxy response headers. Sets Content-Security-Policy: sandbox
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.