removed unnecessary parameters from query string

This commit is contained in:
Evan Seguin
2012-08-07 16:07:20 -07:00
parent 32825ef541
commit 9e63501237
2 changed files with 2 additions and 5 deletions

View File

@@ -86,11 +86,9 @@ class HttpClient {
//$url = self::removeQueryString($url);
$data = http_build_query($parameters);
}
$ch = curl_init ();
// prepare the request
//curl_setopt($ch, CURLOPT_USERPWD, "username:password"); for basic auth
curl_setopt ($ch, CURLOPT_URL , $url);
if ($httpMethod != HttpMethod::GET) {
curl_setopt ($ch, CURLOPT_CUSTOMREQUEST, $httpMethod);