openvidu-test-browsers: allow PUT method on CustomHttpClient

pull/370/head
pabloFuente 2019-12-17 15:06:15 +01:00
parent 18d9eaf7cc
commit 13232496c0
2 changed files with 3 additions and 0 deletions

View File

@ -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());

View File

@ -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;
}