httpmethod

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

httpmethod/httpmethod.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIdempotentHTTPMethod

func IsIdempotentHTTPMethod(method string) bool

IsIdempotentHTTPMethod checks if the given HTTP method is idempotent.

func IsNonIdempotentHTTPMethod

func IsNonIdempotentHTTPMethod(method string) bool

IsNonIdempotentHTTPMethod checks if the given HTTP method is non-idempotent. PATCH can be idempotent but often isn't used as such.

Types

This section is empty.

Jump to

Keyboard shortcuts

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