public function HttpClientRequest::removeHeader in Http Client 7.2
Same name and namespace in other branches
- 6.2 includes/HttpClient.inc \HttpClientRequest::removeHeader()
Removes a header.
Parameters
string $name:
Return value
void
File
- includes/
HttpClient.inc, line 647
Class
- HttpClientRequest
- This is a convenience class that allows the manipulation of a http request before it's handed over to curl.
Code
public function removeHeader($name) {
unset($this->headers[$name]);
}