Commit be2d3ab4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix error handing in WHIP resource handler.

parent 27e502e6
...@@ -293,6 +293,7 @@ func whipResourceHandler(w http.ResponseWriter, r *http.Request) { ...@@ -293,6 +293,7 @@ func whipResourceHandler(w http.ResponseWriter, r *http.Request) {
if r.Method != "PATCH" { if r.Method != "PATCH" {
http.Error(w, "method not allowed", http.StatusMethodNotAllowed) http.Error(w, "method not allowed", http.StatusMethodNotAllowed)
return
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment