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
2020-10-09 19:33:19 +02:00
parent fff94563d7
commit 933ea7c9ce
11 changed files with 96 additions and 28 deletions

View File

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