if($this->config
['output_stream'
]) { $streamMetaData =
stream_get_meta_data($stream);
if ($streamMetaData['seekable'
]) { rewind($stream);
} // cleanup the adapter
$this->adapter->
setOutputStream(null
);
$response = Zend_Http_Response_Stream::
fromStream($response,
$stream);
$response->
setStreamName($this->_stream_name
);
if(!
is_string($this->config
['output_stream'
])) { // we used temp name, will need to clean up
$response->
setCleanup(true
);
} } else { $response = Zend_Http_Response::
fromString($response);
} if ($this->config
['storeresponse'
]) { $this->last_response =
$response;
} // Load cookies into cookie jar
if (isset($this->cookiejar
)) {