Skip to content

Commit

Permalink
rm delete
Browse files Browse the repository at this point in the history
  • Loading branch information
emicklei committed Jun 2, 2022
1 parent c92908b commit c7b828b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsr311.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (r RouterJSR311) detectRoute(routes []Route, httpRequest *http.Request) (*R
for _, candidate := range previous {
available = append(available, candidate.Produces...)
}
// if POST,PUT,PATCH,DELETE without body
// if POST,PUT,PATCH without body
method, length := httpRequest.Method, httpRequest.Header.Get("Content-Length")
if (method == http.MethodPost ||
method == http.MethodPut ||
Expand Down

0 comments on commit c7b828b

Please sign in to comment.