Lines Matching defs:HTTP_NL
5 if(!defined('HTTP_NL')) define('HTTP_NL',"\r\n");
306 $request = "$method $request_url HTTP/".$this->http.HTTP_NL;
309 $request .= HTTP_NL;
525 $request = "CONNECT {$requestinfo['host']}:{$requestinfo['port']} HTTP/1.0".HTTP_NL;
526 $request .= "Host: {$requestinfo['host']}".HTTP_NL;
528 $request .= 'Proxy-Authorization: Basic '.base64_encode($this->proxy_user.':'.$this->proxy_pass).HTTP_NL;
530 $request .= HTTP_NL;
804 $string .= $key.': '.$value.HTTP_NL;
822 if ($headers) $headers = "Cookie: $headers".HTTP_NL;
851 $out .= $boundary.HTTP_NL;
853 $out .= 'Content-Disposition: form-data; name="'.urlencode($key).'"'.HTTP_NL;
854 $out .= HTTP_NL; // end of headers
856 $out .= HTTP_NL;
860 $out .= HTTP_NL;
861 if($val['mimetype']) $out .= 'Content-Type: '.$val['mimetype'].HTTP_NL;
862 $out .= HTTP_NL; // end of headers
864 $out .= HTTP_NL;
867 $out .= "$boundary--".HTTP_NL;