1
Fork 0

Fix error handing in WHIP resource handler.

This commit is contained in:
Juliusz Chroboczek 2023-12-20 00:40:30 +01:00
parent 27e502e63c
commit be2d3ab4ca
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }