Documentation
¶
Overview ¶
Package credentialhttp provides the module-internal HTTP redirect policy for clients that attach credentials or signed request bodies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrCrossOriginRedirect reports a redirect that would move a credentialed // request to a different origin. ErrCrossOriginRedirect = errors.New("credential HTTP client rejected a cross-origin redirect") // ErrRedirectLimit reports a redirect chain beyond the bounded policy. ErrRedirectLimit = errors.New("credential HTTP client exceeded its redirect limit") )
Functions ¶
func CheckRedirect ¶
CheckRedirect is the shared redirect callback for credential-bearing HTTP clients in this module.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.