updated the response code to MethodDelete from Ok To NoContent
This commit is contained in:
parent
71a42af593
commit
04e2de609e
@ -487,7 +487,7 @@ func (ctl *server_ctl_server_conns_id_routes_id_peers) ServeHTTP(w http.Response
|
|||||||
|
|
||||||
case http.MethodDelete:
|
case http.MethodDelete:
|
||||||
r.ReqStopAllServerPeerConns()
|
r.ReqStopAllServerPeerConns()
|
||||||
status_code = WriteEmptyRespHeader(w, http.StatusOK)
|
status_code = WriteEmptyRespHeader(w, http.StatusNoContent)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
status_code = WriteEmptyRespHeader(w, http.StatusMethodNotAllowed)
|
status_code = WriteEmptyRespHeader(w, http.StatusMethodNotAllowed)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user