}
// Send a POST request
-function sendPostRequest ($baseUrl, array $postData, $removeHeader = false) {
+function sendPostRequest ($baseUrl, $postData, $removeHeader = false) {
// Extract host name from script
$host = extractHostnameFromUrl($baseUrl);
}
// Check array for chuncked encoding
-function unchunkHttpResponse (array $response) {
+function unchunkHttpResponse ($response) {
// Default is not chunked
$isChunked = false;
}
// Removes HTTP header lines from a response array (e.g. output from send<Get|Post>Request() )
-function removeHttpHeaderFromResponse (array $response) {
+function removeHttpHeaderFromResponse ($response) {
// Save headers for later usage
$GLOBALS['http_headers'] = array();