diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2022-11-27 16:05:13 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2022-11-27 16:05:13 +0000 |
| commit | 10843b7318e949fcd3120d843352271ef198be11 (patch) | |
| tree | 41bad32a1b8cf32ac9016864e65532d87ea10cdd /http.go | |
| parent | 98ddf347d3c2430a4c354621ee746c8252257bda (diff) | |
Fix typo in header namev0.2.1
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |
