Versions in this module Expand all Collapse all v0 v0.1.5 Oct 14, 2026 v0.1.4 Oct 14, 2026 Changes in this version + const MaxRedirects + var ErrCrossOrigin = errors.New("refusing redirect to a different origin than the coder URL") + var ErrCrossOriginRequest = errors.New("refusing request to a different origin than the coder URL") + func RedirectPolicy(origin *url.URL) func(*http.Request, []*http.Request) error + func RoundTripper(origin *url.URL, base http.RoundTripper) http.RoundTripper + func Same(a, b *url.URL) bool