From f989ad8bac752b797df232e6696029307cff1ea5 Mon Sep 17 00:00:00 2001 From: Marco Palladino Date: Sat, 21 Apr 2012 17:19:29 -0700 Subject: [PATCH] user-agent --- main/mashape/http/UrlUtils.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main/mashape/http/UrlUtils.php b/main/mashape/http/UrlUtils.php index d30946c..653aaa2 100644 --- a/main/mashape/http/UrlUtils.php +++ b/main/mashape/http/UrlUtils.php @@ -24,9 +24,6 @@ * */ -define("CLIENT_LIBRARY_LANGUAGE", "PHP"); -define("CLIENT_LIBRARY_VERSION", "V04"); - define("PLACEHOLDER_REGEX", "/\{([\w\.]+)\}/"); class UrlUtils { @@ -94,7 +91,7 @@ class UrlUtils { } public static function generateClientHeaders() { - $headers = "X-Mashape-Language: " . CLIENT_LIBRARY_LANGUAGE . "\r\n" . "X-Mashape-Version: " . CLIENT_LIBRARY_VERSION . "\r\n"; + $headers = "User-Agent: mashape-php/1.0: " . "\r\n"; return $headers; }