|
@@ 139-141 (lines=3) @@
|
| 136 |
|
|
| 137 |
|
$options['hooks']->dispatch('curl.before_send', array(&$this->handle)); |
| 138 |
|
|
| 139 |
|
if ($options['filename'] !== false) { |
| 140 |
|
$this->stream_handle = fopen($options['filename'], 'wb'); |
| 141 |
|
} |
| 142 |
|
|
| 143 |
|
$this->response_data = ''; |
| 144 |
|
$this->response_bytes = 0; |
|
@@ 289-291 (lines=3) @@
|
| 286 |
|
public function &get_subrequest_handle($url, $headers, $data, $options) { |
| 287 |
|
$this->setup_handle($url, $headers, $data, $options); |
| 288 |
|
|
| 289 |
|
if ($options['filename'] !== false) { |
| 290 |
|
$this->stream_handle = fopen($options['filename'], 'wb'); |
| 291 |
|
} |
| 292 |
|
|
| 293 |
|
$this->response_data = ''; |
| 294 |
|
$this->response_bytes = 0; |