Fixed a bug causing calls to fail for APIs with query auth and no parameters

This commit is contained in:
Evan Seguin
2012-07-31 11:48:36 -07:00
parent 3e9c7acdf8
commit 2f34bcf8a8

View File

@@ -65,6 +65,9 @@ class HttpClient {
private static function execRequest($httpMethod, $url, $parameters, $authHandlers) {
$data = null;
if ($parameters == null) {
$parameters = array();
}
$headers = array();
$headers[] = UrlUtils::generateClientHeaders();