|
@@ 143-145 (lines=3) @@
|
| 140 |
|
|
| 141 |
|
$options['hooks']->dispatch('curl.before_send', array(&$this->handle)); |
| 142 |
|
|
| 143 |
|
if ($options['filename'] !== false) { |
| 144 |
|
$this->stream_handle = fopen($options['filename'], 'wb'); |
| 145 |
|
} |
| 146 |
|
|
| 147 |
|
$this->response_data = ''; |
| 148 |
|
$this->response_bytes = 0; |
|
@@ 292-294 (lines=3) @@
|
| 289 |
|
public function &get_subrequest_handle($url, $headers, $data, $options) { |
| 290 |
|
$this->setup_handle($url, $headers, $data, $options); |
| 291 |
|
|
| 292 |
|
if ($options['filename'] !== false) { |
| 293 |
|
$this->stream_handle = fopen($options['filename'], 'wb'); |
| 294 |
|
} |
| 295 |
|
|
| 296 |
|
$this->response_data = ''; |
| 297 |
|
$this->response_bytes = 0; |