Fix IHTTPResult::getHeader/s()

- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest
This commit is contained in:
Philipp 2021-08-20 19:48:14 +02:00
parent a60ca4a1cf
commit dee1899628
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
10 changed files with 89 additions and 22 deletions

View file

@ -493,8 +493,7 @@ class HTTPRequest implements IHTTPRequest
'timeout' => $timeout,
'accept_content' => $accept_content,
'cookiejar' => $cookiejar
],
$redirects
]
);
}