cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: using libcurl to invoke WebDAV methods on Exchange

From: Andrew Biggs <adb_at_cisco.com>
Date: Thu, 22 Dec 2005 10:37:33 -0700

Thanks Daniel, I really appreciate you help with this. I pointed my app
at your site and it worked fine. I'll have to go back and look more
carefully at what's going on with Exchange/IIS, but at least libcurl is
working like a champ ;-).

Thanks again!

Andrew

Daniel Stenberg wrote:

> On Wed, 21 Dec 2005, Andrew Biggs wrote:
>
>> That is consistent with my experience as well, in that my write_data
>> callback does in fact get called when the server's response is
>> text/html and has a known length. But, when the server returns a
>> response that has Transfer-Encoding: chunked, and the Content-Type is
>> text/xml, I get nothing.
>
>
> Not here. Using the exact same code I just showed you, and changing
> the URL to "http://daniel.haxx.se/chunky.cgi" does instead output this:
>
> < HTTP/1.1 200 OK
> < Date: Wed, 21 Dec 2005 22:13:07 GMT
> < Server: Apache/2.0.54 (Debian GNU/Linux) PHP/4.4.0-2
> < Keep-Alive: timeout=15, max=100
> < Connection: Keep-Alive
> < Transfer-Encoding: chunked
> < Content-Type: text/xml
> *** write_data has been called: 10 bytes
> * Connection #0 to host daniel.haxx.se left intact
>
> ('chunky.cgi' is a CGI script I just wrote that does 'ls' on a dir in
> which I just made a few single-letter file names.)
>
Received on 2005-12-22