-
-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
$client = new \Tmdb\Client($token, ['secure' => false]);
$search = $api_client->getSearchApi()->searchMulti($query);
That code is still making https request. It seems, that in HttpClient.php constructSecureUrl($path)
function uses https explicitly.
Further exploration suggests changing function body to
return $this->options['base_url'] . $path;
because secure
option is already handled in Client.php postResolve
function assigning options['base_url']
right url with http protocol, when 'secure' => false
.