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;
@@ 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;