From 087b4a2deecac283599fa512ae4ad90178a4aa8b Mon Sep 17 00:00:00 2001 From: Marco Palladino Date: Tue, 5 Jun 2012 17:53:17 +0200 Subject: [PATCH] auth --- main/mashape/http/AuthUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/mashape/http/AuthUtil.php b/main/mashape/http/AuthUtil.php index a18358b..58f79f4 100755 --- a/main/mashape/http/AuthUtil.php +++ b/main/mashape/http/AuthUtil.php @@ -30,7 +30,7 @@ class AuthUtil { $header = ""; if (!($publicKey == null || $privateKey == null)) { $hash = hash_hmac("sha1", $publicKey, $privateKey); - $header = "Proxy-Authorization: " . base64_encode($publicKey . ":" . $hash) . "\r\n"; + $header = "X-Mashape-Authorization: " . base64_encode($publicKey . ":" . $hash) . "\r\n"; } return $header; }