httpclient

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package httpclient shares HTTP security policies between API and terminal clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RedirectPolicy

func RedirectPolicy(allowCrossOrigin bool) func(*http.Request, []*http.Request) error

RedirectPolicy rejects downgrades and optionally allows credential-free cross-origin downloads.

Types

This section is empty.

Jump to

Keyboard shortcuts

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