Documentation
¶
Overview ¶
Package samehost stops a request following a redirect to another host.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCrossHostRedirect = errors.New("refused a redirect to another host")
ErrCrossHostRedirect reports a redirect that left the host it was sent to.
View Source
var ErrDowngradeRedirect = errors.New("refused a redirect from https to http")
ErrDowngradeRedirect reports a redirect from https to plain http.
Functions ¶
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package samehosttest stands up a server that redirects to another host, for proving a client's redirect policy is wired in.
|
Package samehosttest stands up a server that redirects to another host, for proving a client's redirect policy is wired in. |
Click to show internal directories.
Click to hide internal directories.