send X-Request-Id in header of every request (#7238)
This commit is contained in:
@@ -64,7 +64,6 @@ class SearchContext implements Context {
|
||||
$user = $this->featureContext->getActualUsername($user);
|
||||
$baseUrl = $this->featureContext->getBaseUrl();
|
||||
$password = $this->featureContext->getPasswordForUser($user);
|
||||
$headers['X-Request-Id'] = WebDavHelper::generateUUIDv4();
|
||||
$body
|
||||
= "<?xml version='1.0' encoding='utf-8' ?>\n" .
|
||||
" <oc:search-files xmlns:a='DAV:' xmlns:oc='http://owncloud.org/ns' >\n" .
|
||||
@@ -103,7 +102,7 @@ class SearchContext implements Context {
|
||||
$password,
|
||||
"REPORT",
|
||||
"/",
|
||||
$headers,
|
||||
null,
|
||||
$this->featureContext->getStepLineRef(),
|
||||
$body,
|
||||
$this->featureContext->getDavPathVersion()
|
||||
|
||||
Reference in New Issue
Block a user