aboutsummaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'http.go')
-rw-r--r--http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.go b/http.go
index 83a6830..8b57133 100644
--- a/http.go
+++ b/http.go
@@ -41,7 +41,7 @@ func FilterHTTPMethod(methods ...string) HTTPFilterFunc {
return false
}
}
- w.Header().Set("Allowed", allowed)
+ w.Header().Set("Allow", allowed)
w.WriteHeader(http.StatusMethodNotAllowed)
return true
}