I have a PTZ camera that requires Digest HTTP authentication. Through a lot of google searching I have found your library that mentions Digest authentication in the description.

I couldn’t find any examples of how to use digest so started implementing the module in the same way basic authentication works.
Code Sample
require("http.php");
require("sasl.php");
set_time_limit(0);
$http=new http_class;
$http->timeout=0;
$http->data_timeout=0;
$http->debug=1; /* Trying to get the bottom of things */
$http->html_debug=1;

when I watch with Wireshark i can see that the 192.168.1.107 server tells the browser that it requires Digest authentication, then the browser asks for a password, once complete the browser sends the MD5 hash and re-posts the data. After that the camera physically moves.