httpheaders

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(dst map[string]string, src map[string]string, overwrite bool) map[string]string

Merge applies src entries into dst using case-insensitive key matching. When overwrite is false, existing dst entries win. When overwrite is true, src entries replace existing keys even if the casing differs.

func Set

func Set(headers map[string]string, name, value string) map[string]string

Set writes a header value using case-insensitive key matching. If an equivalent key already exists with different casing, it is replaced.

Types

This section is empty.

Jump to

Keyboard shortcuts

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