Hi,

Was hoping to use PHP streams API to query a WebDAV server, something along the 
lines of..

        $context = stream_context_create(
                array(
                        'http' =>
                                array('method' => 'PROPFIND')
                )
        );
        $f = fopen('http://localhost/WebDav/', 'r', FALSE, $context);

        fpassthru($f);
        fclose($f);

but the streams API seems overly strict on status codes returned, a succesful 
PROPFIND is meant to return a 207 status code, but the
HTTP stream wrapper isn't treating it as such, throwing an error, and failing 
to open. Is this a bug? 

Jared

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to