mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-browsers: allow PATCH method on CustomHttpClient
parent
45189f3fa8
commit
12fff2a2fb
|
@ -197,7 +197,9 @@ public class CustomHttpClient {
|
||||||
case PUT:
|
case PUT:
|
||||||
request = Unirest.put(path);
|
request = Unirest.put(path);
|
||||||
break;
|
break;
|
||||||
|
case PATCH:
|
||||||
default:
|
default:
|
||||||
|
request = Unirest.patch(path);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
((HttpRequestWithBody) request).header("Content-Type", "application/json").body(body.replaceAll("'", "\""));
|
((HttpRequestWithBody) request).header("Content-Type", "application/json").body(body.replaceAll("'", "\""));
|
||||||
|
|
Loading…
Reference in New Issue