diff --git a/src/Interfaces/ProjectInterface.php b/src/Interfaces/ProjectInterface.php index c191170..b9cb736 100644 --- a/src/Interfaces/ProjectInterface.php +++ b/src/Interfaces/ProjectInterface.php @@ -18,8 +18,8 @@ */ interface ProjectInterface { - const VERSION = '1.0'; - const LAST_MODIFIED = '2018-12-18'; + const VERSION = '1.0.1'; + const LAST_MODIFIED = '2018-12-19'; const MIN_PHP_VERSION = '5.3'; const GET = 'GET'; const HEAD = 'HEAD'; diff --git a/src/MyRequests.php b/src/MyRequests.php index 2f32141..2e8a707 100644 --- a/src/MyRequests.php +++ b/src/MyRequests.php @@ -844,7 +844,7 @@ public function curlRequest($url = '', $data = [], $method = 'GET') $this->http_code = $curl->httpStatusCode; $this->http_message = $curl->httpErrorMessage; $this->requests_header = $curl->requestHeaders; - $this->response_header = $curl->responseHeaders; + $this->response_header = $curl->rawResponseHeaders; // Debug $this->debug->debug(__FUNCTION__, 'Full Data Curl Message and Http Message: ', $error_code); if ($this->errorResponseIsData === TRUE) { @@ -858,7 +858,7 @@ public function curlRequest($url = '', $data = [], $method = 'GET') $this->debug->debug(__FUNCTION__, 'Return Error Response is Message: ' . $response); } } else { - $response = $curl->response; + $response = $curl->rawResponse; $this->debug->debug(__FUNCTION__, 'Response from Request, no Error: ' . $response); } // Close Request