Fix error handing in WHIP resource handler.
This commit is contained in:
1 parent
27e502e63c
commit
be2d3ab4ca
1 file changed
+1
@@ -293,6 +293,7 @@ func whipResourceHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
if r.Method != "PATCH" {
|
||||
http.Error(w, "method not allowed", http.StatusMethodNotAllowed)
|
||||
return
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user