public function removeHeader($header)
	{
		if($header instanceof HttpHeaderInterface)
		{
			unset($this->headers[strtolower($header->getFieldName())]);
		}
		else
		{
			unset($this->headers[strtolower($header)]);
		}
		
		return $this;
	}
public function removeHeader($header)
	{
		if($header instanceof HttpHeaderInterface)
		{
			unset($this->headers[strtolower($header->getFieldName())]);
		}
		else
		{
			unset($this->headers[strtolower($header)]);
		}
		
		return $this;
	}
public function removeHeader ( $ header ) { if ( $ header instanceof HttpHeaderInterface ) { unset ( $ this -> headers [ strtolower ( $ header -> getFieldName ( ) ) ] ) ; } else { unset ( $ this -> headers [ strtolower ( $ header ) ] ) ; } return $ this ; }
Remove all HTTP headers of the given type from the message.

@param mixed $header A header name or an instance of HttpHeaderInterface.
@return HttpMessage
Remove all HTTP headers of the given type from the message .