methods

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package methods provides functionality for handling HTTP methods

Index

Constants

View Source
const (

	// MethodPurge is the PURGE HTTP Method
	MethodPurge = "PURGE"
)

Variables

This section is empty.

Functions

func AllHTTPMethods

func AllHTTPMethods() []string

AllHTTPMethods returns a list of all known HTTP methods

func CacheableHTTPMethods

func CacheableHTTPMethods() []string

CacheableHTTPMethods returns a list of HTTP methods that are generally considered cacheable

func UncacheableHTTPMethods

func UncacheableHTTPMethods() []string

UncacheableHTTPMethods returns a list of HTTP methods that are generally considered uncacheable

Types

This section is empty.

Jump to

Keyboard shortcuts

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