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.
Click to show internal directories.
Click to hide internal directories.