headers

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 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