mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-browsers: allow PUT method on CustomHttpClient
parent
18d9eaf7cc
commit
13232496c0
|
@ -183,6 +183,7 @@ public abstract class KmsManager {
|
|||
@Override
|
||||
public void connected() {
|
||||
final Kms kms = kmss.get(kmsId);
|
||||
// TODO: This should be done here instead of after KurentoClient.create method returns
|
||||
// kms.setKurentoClientConnected(true);
|
||||
// kms.setTimeOfKurentoClientConnection(System.currentTimeMillis());
|
||||
log.warn("Kurento Client is now connected to KMS {} with uri {}", kmsId, kms.getUri());
|
||||
|
|
|
@ -216,6 +216,8 @@ public class CustomHttpClient {
|
|||
request = Unirest.delete(path);
|
||||
request.header("Content-Type", "application/x-www-form-urlencoded");
|
||||
break;
|
||||
case PUT:
|
||||
request = Unirest.put(path);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue