cvs: pear /HTTP_Request Request.php

From: Date: Fri, 22 Feb 2002 14:30:01 +0000
Subject: cvs: pear /HTTP_Request Request.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2559@lists.php.net to get a copy of this message
tuupola Fri Feb 22 09:30:01 2002 EDT Modified files: /pear/HTTP_Request Request.php Log: * fixed basic authentication. Index: pear/HTTP_Request/Request.php diff -u pear/HTTP_Request/Request.php:1.6 pear/HTTP_Request/Request.php:1.7 --- pear/HTTP_Request/Request.php:1.6 Fri Feb 22 07:33:11 2002 +++ pear/HTTP_Request/Request.php Fri Feb 22 09:30:00 2002 @@ -15,7 +15,7 @@ // | Author: Richard Heyes <richard@phpguru.org> | // +----------------------------------------------------------------------+ // -// $Id: Request.php,v 1.6 2002/02/22 12:33:11 tuupola Exp $ +// $Id: Request.php,v 1.7 2002/02/22 14:30:00 tuupola Exp $ // // HTTP_Request Class // @@ -152,7 +152,7 @@ // Basic authentication if (!empty($this->_user)) { - $this->_headers['Authorization'] = 'Basic ' . base64_encode($this->_user . ':' . $this->_pass); + $this->_requestHeaders['Authorization'] = 'Basic ' . base64_encode($this->_user . ':' . $this->_pass); } // Host header

« previous php.pear.cvs (#2559) next »