fixes
This commit is contained in:
5
main/mashape/http/UrlUtils.php
Normal file → Executable file
5
main/mashape/http/UrlUtils.php
Normal file → Executable file
@@ -24,6 +24,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define("CLIENT_LIBRARY_LANGUAGE", "PHP");
|
||||
define("CLIENT_LIBRARY_VERSION", "V04");
|
||||
|
||||
define("PLACEHOLDER_REGEX", "/\{([\w\.]+)\}/");
|
||||
class UrlUtils {
|
||||
|
||||
@@ -91,7 +94,7 @@ class UrlUtils {
|
||||
}
|
||||
|
||||
public static function generateClientHeaders() {
|
||||
$headers = "User-Agent: mashape-php/1.0: " . "\r\n";
|
||||
$headers = "X-Mashape-Language: " . CLIENT_LIBRARY_LANGUAGE . "\r\n" . "X-Mashape-Version: " . CLIENT_LIBRARY_VERSION . "\r\n";
|
||||
return $headers;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user