cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_HEADERFUNCTION with non-HTTP response ?

From: ruffnex <ruffnex_at_mac.com>
Date: Mon, 11 Nov 2002 22:34:49 +0800

Hi Daniel,
Could you please expand on "a custom check"?
Apart from callbacks what else can the application supply to libcurl?
Or are you suggesting that I should just add some header parsing code to my
body callback function?...
Cheers,
Simon

>> 1. A patch below will allow Shoutcast/Icecast streams to be treated as a
>> normal HTTP 200 response. It is applied to v7.10.1 "lib/transfer.c".
>> Perhaps you could include this in future with a #ifdef SHOUTCAST.
>
> Well, I could do that but wouldn't it be rather annoying? Wouldn't it be
> better to perhaps offer a custom check to be added by the application or
> something? That way you wouldn't need to build a special version of the lib
> every time we release a new release...

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-11-11