projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df117aa
)
Only support basic auth at the moment, so use that if any auth is requested.
author
Jan Schneider
<jan@horde.org>
Wed, 7 Jul 2010 21:53:20 +0000
(23:53 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 7 Jul 2010 22:05:31 +0000
(
00:05
+0200)
framework/Http/lib/Horde/Http/Request/Fopen.php
patch
|
blob
|
history
diff --git
a/framework/Http/lib/Horde/Http/Request/Fopen.php
b/framework/Http/lib/Horde/Http/Request/Fopen.php
index
dcbd1c0
..
e0909fd
100644
(file)
--- a/
framework/Http/lib/Horde/Http/Request/Fopen.php
+++ b/
framework/Http/lib/Horde/Http/Request/Fopen.php
@@
-68,6
+68,7
@@
class Horde_Http_Request_Fopen extends Horde_Http_Request_Base
if ($this->username) {
switch ($this->authenticationScheme) {
case Horde_Http::AUTH_BASIC:
+ case Horde_Http::AUTH_ANY:
$headers['Authorization'] = 'Basic ' . base64_encode($this->username . ':' . $this->password);
break;