headers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPseudoHeader

func IsPseudoHeader(headerField qpack.HeaderField) bool

func NewRequestFromHeaders

func NewRequestFromHeaders(headerFields []qpack.HeaderField) (*http.Request, error)

Types

type Header struct {
	// NOTE: pseudo headers RFC 9114 section 8
	Path          string
	Method        string
	Authority     string // host:port
	Scheme        string
	Status        string
	ContentLength int64
	Header        http.Header
	Protocol      string
}

func (*Header) IsResponseHeader

func (hdr *Header) IsResponseHeader() bool

Jump to

Keyboard shortcuts

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