Lines Matching refs:header
324 $header = "GET ".$this->path." HTTP/1.1\r\n";
325 $header .= "Host: ".$this->host."\r\n";
326 $header .= "Accept: */*\r\n";
327 $header .= "User-Agent: ".$this->user_agent."\r\n";
328 $header .= "Connection: keep-alive\r\n";
329 $header .= "Referer: ".$this->protocol."://".$this->host.$this->path."\r\n";
330 $header .= $this->_header_basic_authorization();
331 $header .= "\r\n";
333 fputs ($socket, $header);
358 $header = "HEAD ".$this->path." HTTP/1.1\r\n";
359 $header .= "Host: ".$this->host."\r\n";
360 $header .= "Accept: */*\r\n";
361 $header .= "User-Agent: ".$this->user_agent."\r\n";
362 $header .= "Connection: keep-alive\r\n";
363 $header .= "Accept: text/html\r\n";
364 $header .= "Referer: ".$this->protocol."://".$this->host.$this->path."\r\n";
366 $header .= $this->_header_basic_authorization();
368 $header .= "\r\n";
371 fputs ($socket, $header);