Skip to content

Commit 606ac9b

Browse files
committed
update handler template
1 parent 9bb8243 commit 606ac9b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/samb-handler/template.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ func Handle%s(w http.ResponseWriter, r *http.Request) {
2929
case http.MethodGet:
3030
%s(w, r)
3131
default:
32-
w.Header().Set("Content-Type", "application/json")
3332
w.WriteHeader(http.StatusMethodNotAllowed)
3433
w.Write([]byte(%sNotFound))
3534
}

0 commit comments

Comments
 (0)