curl-library
Re: Unable to set CURLOPT_HTTP200ALIASES for "ICY 200 OK"
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Mar 2010 22:05:20 +0100 (CET)
Date: Mon, 8 Mar 2010 22:05:20 +0100 (CET)
On Mon, 8 Mar 2010, souvik.datta_at_wipro.com wrote:
> I am using libcurl/7.18.2 on Ubuntu 9.04. I would like to treat the
> SHOUTcast server responses as HTTP response headers. For that I have used
> curl_slist_append() to set the string "ICY 200 OK" and set
> curl_easy_setopt() with CURLOPT_HTTP200ALIASES. I am dumping the header in a
> file using CURLOPT_WRITEHEADER option. But I am still getting the SHOUTcast
> headers in the body. To make sure , I have also set CURLOPT_HEADER to 0.
My response from the curl-users mailing list where you already asked this
still stands and I find it a bit strange that you just repost your question
here without mentioning my reply or trying to respond to it.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-03-08