ResetHeaders Method
Resets all HTTP Headers, Cookies, LocalFile , and AttachedFile .
Object Oriented Interface
public function doResetHeaders();
Procedural Interface
ipworks_http_do_resetheaders($res);
Remarks
This method resets all the HTTP Headers as well as LocalFile and AttachedFile to "" (empty string). It also resets the Cookie properties. Use this method before creating a new request, so that headers from the previous message are not carried over to the next one.