Updated library to use cURL instead of file_get_contents
This commit is contained in:
@@ -91,10 +91,10 @@ class UrlUtils {
|
||||
}
|
||||
|
||||
public static function generateClientHeaders() {
|
||||
$headers = "User-Agent: mashape-php/1.0: " . "\r\n";
|
||||
$headers = "User-Agent: mashape-php/1.0: ";
|
||||
return $headers;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user