Add defaultDecoder for parseResponse

This commit is contained in:
Rambo
2016-05-19 19:42:01 +08:00
parent 1cf7bc169a
commit ca6e9ba812
-1
View File
@@ -100,7 +100,6 @@ class Curl
$this->setDefaultUserAgent();
$this->setDefaultJsonDecoder();
$this->setDefaultXmlDecoder();
$this->setDefaultDecoder();
$this->setDefaultTimeout();
$this->setOpt(CURLINFO_HEADER_OUT, true);
$this->setOpt(CURLOPT_HEADERFUNCTION, array($this, 'headerCallback'));