httpmethod

package
v0.0.0-...-1535236 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RewriteMiddleware

func RewriteMiddleware(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)

RewriteMiddleware rewrites the HTTP method based on the _method parameter passed when the request type is POST. This is useful when working with HTTP forms since form only supports GET and POST methods.

Types

This section is empty.

Jump to

Keyboard shortcuts

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