couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "Getting_started_with_PHP" by VicMetcalfe
Date Thu, 07 Apr 2011 12:33:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Getting_started_with_PHP" page has been changed by VicMetcalfe.
The comment on this change is: Extra $request .= "\r\n"; under authorization caused authenticated
posts to break with an extra CRLF between the authorization and content length headers.  Not
needed due to else under if($post_data)..


        if ($this->user) {
           $request .= "Authorization: Basic ".base64_encode("$this->user:$this->pass")."\r\n";

-          $request .= "\r\n"; 
        if($post_data) {

View raw message