MDL-34290 Allow to have several requests to the same instance of oauth_helper
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user