mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Fix error handing in WHIP resource handler.
This commit is contained in:
parent
27e502e63c
commit
be2d3ab4ca
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue