curl-library
Re: Patch to add new feature to libcurl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 2 Mar 2003 09:35:37 +0100 (CET)
Date: Sun, 2 Mar 2003 09:35:37 +0100 (CET)
On Sat, 1 Mar 2003, Larry Campbell wrote:
> I need to get at the full Content-type header of HTTP responses;
> CURLINFO_CONTENT_TYPE only give me the media type part, and deliberately
> strips off the remainder, which includes the charset parameter.
That's a bug. This has been fixed in CVS and the latest pre-releases.
> So I've added CURLINFO_FULL_CONTENT_TYPE which returns the full header, not
> just the media type.
Thanks, but I prefer to have CURLINFO_CONTENT_TYPE return the full thing.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-03-02