function cc::http_build_request_headers in Constant Contact 6.2
* This method calls other methods * It is mainly here so we can do everything in the correct order, according to HTTP spec * *
Return value
string A string containing the entire HTTP request * * @access private
1 call to cc::http_build_request_headers()
- cc::http_send in ./
class.cc.php - * This does most the work of creating the HTTP request * *
File
- ./
class.cc.php, line 1835
Class
- cc
- @file
Code
function http_build_request_headers() {
$this
->http_auth_headers();
$this
->http_headers_add('Connection', "Close{$this->http_linebreak}");
$request = $this
->http_headers_to_s($this->http_request_headers);
$this->http_request_headers = array();
return $request;
}