@@ -759,7 +759,7 @@ protected function curlExec($curl_options) {
$this->_content=curl_exec($this->ch);
$this->plain_text=FALSE;
$this->elements=FALSE;
$this->assertTrue($this->_content!==FALSE,t('!method to !url, response is !length bytes.',array('!method'=>empty($curl_options[CURLOPT_POSTFIELDS])?'GET':'POST','!url'=>$url,'!length'=>strlen($this->_content))),t('Browser'));
$this->assertTrue($this->_content!==FALSE,t('!method to !url, response is !length bytes.',array('!method'=>!empty($curl_options[CURLOPT_NOBODY])?'HEAD':(empty($curl_options[CURLOPT_POSTFIELDS])?'GET':'POST'),'!url'=>$url,'!length'=>strlen($this->_content))),t('Browser'));
return$this->_content;
}
...
...
@@ -802,7 +802,7 @@ protected function parse() {
* Retrieves a Drupal path or an absolute path.
*
* @param $path
* Drupal path or url to load into internal browser
* Drupal path or URL to load into internal browser
* @param $options
* Options to be forwarded to url().
* @return
...
...
@@ -814,7 +814,7 @@ function drupalGet($path, $options = array()) {
// We re-using a CURL connection here. If that connection still has certain
// options set, it might change the GET into a POST. Make sure we clear out