summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/HTTPClient.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php
index 795c12581..26edeb491 100644
--- a/inc/HTTPClient.php
+++ b/inc/HTTPClient.php
@@ -186,10 +186,10 @@ class HTTPClient {
$headers['Content-Length'] = strlen($post);
}
if($this->user) {
- $headers['Authorization'] = 'BASIC '.base64_encode($this->user.':'.$this->pass);
+ $headers['Authorization'] = 'Basic '.base64_encode($this->user.':'.$this->pass);
}
if($this->proxy_user) {
- $headers['Proxy-Authorization'] = 'BASIC '.base64_encode($this->proxy_user.':'.$this->proxy_pass);
+ $headers['Proxy-Authorization'] = 'Basic '.base64_encode($this->proxy_user.':'.$this->proxy_pass);
}
// stop time