From c147022070da46b5775ccd639a250432fd0a8db4 Mon Sep 17 00:00:00 2001 From: thefosk Date: Tue, 23 Jul 2013 12:34:49 -0700 Subject: [PATCH] line --- lib/Unirest/Unirest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);