clienthttp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package clienthttp contains shared safety defaults for broker HTTP clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBaseURL

func ParseBaseURL(value string) (*url.URL, error)

ParseBaseURL accepts only absolute HTTP(S) origins with an optional path.

func Secure

func Secure(client *http.Client) *http.Client

Secure clones client and disables redirects that could forward credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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