Help us shape the future of Go! Take the 2026 Go Developer Survey

crosshost

package
v3.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package crosshost names the request headers that must not survive a redirect to a host other than the one they were sent to.

Index

Constants

This section is empty.

Variables

SensitiveHeaders lists the headers carrying credentials scoped to one origin. A redirect off it must drop every one, or the client's secret reaches a host it never addressed — and the responding server chooses where that goes.

net/http's set, which fasthttp also implements. Shared because the client's redirect loop and the proxy's had already drifted: the proxy was missing Cookie2 and both Authenticate headers.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL