Code Duplication    Length = 3-3 lines in 2 locations

library/Requests/Transport/cURL.php 2 locations

@@ 137-139 (lines=3) @@
134
135
		$options['hooks']->dispatch('curl.before_send', array(&$this->handle));
136
137
		if ($options['filename'] !== false) {
138
			$this->stream_handle = fopen($options['filename'], 'wb');
139
		}
140
141
		$this->response_data = '';
142
		$this->response_bytes = 0;
@@ 317-319 (lines=3) @@
314
	public function &get_subrequest_handle($url, $headers, $data, $options) {
315
		$this->setup_handle($url, $headers, $data, $options);
316
317
		if ($options['filename'] !== false) {
318
			$this->stream_handle = fopen($options['filename'], 'wb');
319
		}
320
321
		$this->response_data = '';
322
		$this->response_bytes = 0;