rewrite - ActiveState ActiveGo 1.8
...

Package rewrite

import "github.com/streadway/handy/rewrite"
Overview
Index

Overview ▾

Package rewrite contains filters to handle HTTP rewrites

func Method

func Method(next http.Handler) http.Handler

Method modifies the http.Request.Method for POST requests to the form value "_method" only if that value is one of PUT, PATCH or DELETE.