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:
|
||||
request = Unirest.put(path);
|
||||
break;
|
||||
case PATCH:
|
||||
default:
|
||||
request = Unirest.patch(path);
|
||||
break;
|
||||
}
|
||||
((HttpRequestWithBody) request).header("Content-Type", "application/json").body(body.replaceAll("'", "\""));
|
||||
|
|
Loading…
Reference in New Issue