[Tickets #10595] Documentation for Horde_Http_Client

bugs at horde.org bugs at horde.org
Fri Sep 30 21:27:25 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10595
------------------------------------------------------------------------------
  Ticket             | 10595
  Created By         | Chuck Hagenbuch <chuck at horde.org>
  Summary            | Documentation for Horde_Http_Client
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2011-09-30 21:27) wrote:

starting point:

We now have support for at least basic:  
http://lists.horde.org/archives/commits/2009-October/002003.html

A simple example:

$client = new Horde_Http_Client();
$client->request->username = 'user';
$client->request->password = 'pass';

echo $client->get('url');


You can change the scheme to digest or NTLM if you have support for  
the curl or pecl_http adapters:
$client->request->authenticationScheme = Horde_Http::AUTH_DIGEST;





More information about the bugs mailing list