package httpspec

import "github.com/google/martian/v3/httpspec"

Package httpspec provides a modifier stack that has been preconfigured to provide spec-compliant HTTP proxy behavior.

Related: https://www.mnot.net/blog/2011/07/11/what_proxies_must_do

Index

Functions

func NewStack

func NewStack(via string) (outer *fifo.Group, inner *fifo.Group)

NewStack returns a martian modifier stack that handles ensuring proper proxy behavior, in addition to a fifo.Group that can be used to add additional modifiers within the stack.

Source Files

httpspec.go

Version
v3.0.0
Published
Jul 9, 2019
Platform
windows/amd64
Imports
2 packages
Last checked
4 hours ago

Tools for package owners.