MDL-34290 Allow to have several requests to the same instance of oauth_helper

This commit is contained in:
Marina Glancy
2012-08-29 13:12:04 +08:00
parent 120300fb99
commit a6b0ac5362
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -2898,6 +2898,13 @@ class curl {
unset($this->options['CURLOPT_FILE']);
}
/**
* Resets the HTTP Request headers (to prepare for the new request)
*/
public function resetHeader() {
$this->header = array();
}
/**
* Set HTTP Request Header
*