headers

package
v1.18.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ExtensionName = "headers"
)

Variables

View Source
var (
	MissingHeaderValueError = eris.New("header section of header value option cannot be nil")
	CantSetHostHeaderError  = eris.New("cannot set Host header in response headers")

	CantSetPseudoHeaderError = func(header string) error {
		return eris.Errorf(":-prefixed headers cannot be set: '%s'", header)
	}
)

Functions

func NewPlugin

func NewPlugin() *plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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