X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fhttp-functions.php;h=3b9a630eefbe48e362a17f109bf5d28c70dec282;hb=9197694ce183b69384a385a6c4a5e16988c7fb09;hp=5e7aefa5718f0ed991119f0004c3d8820576f9aa;hpb=c5fcebd3d76023296ffc643be8736ac5a9c3dbb6;p=mailer.git diff --git a/inc/http-functions.php b/inc/http-functions.php index 5e7aefa571..3b9a630eef 100644 --- a/inc/http-functions.php +++ b/inc/http-functions.php @@ -115,7 +115,7 @@ function sendGetRequest ($baseUrl, $data = array(), $removeHeader = false) { } // 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); @@ -369,7 +369,7 @@ function setupProxyTunnel ($host, $port, $resource) { } // Check array for chuncked encoding -function unchunkHttpResponse (array $response) { +function unchunkHttpResponse ($response) { // Default is not chunked $isChunked = false; @@ -405,7 +405,7 @@ function unchunkHttpResponse (array $response) { } // Removes HTTP header lines from a response array (e.g. output from sendRequest() ) -function removeHttpHeaderFromResponse (array $response) { +function removeHttpHeaderFromResponse ($response) { // Save headers for later usage $GLOBALS['http_headers'] = array();