diff --git a/lib/Unirest/Unirest.php b/lib/Unirest/Unirest.php index 4b952b2..e77f0d0 100644 --- a/lib/Unirest/Unirest.php +++ b/lib/Unirest/Unirest.php @@ -15,7 +15,7 @@ class Unirest { return Unirest::request(HttpMethod::GET, $url, NULL, $headers); } - + /** * Send POST request to a URL * @param string $url URL to send the POST request to @@ -82,7 +82,7 @@ class Unirest } $lowercaseHeaders[] = "user-agent: unirest-php/1.0"; $lowercaseHeaders[] = "expect:"; - + $ch = curl_init(); if ($httpMethod != HttpMethod::GET) { curl_setopt ($ch, CURLOPT_CUSTOMREQUEST, $httpMethod);