cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: My personal pitfalls (or: too magic?)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 11 Nov 2005 20:16:44 +0100 (CET)
On Fri, 11 Nov 2005, Michael Wallner wrote:
> This may sound like a rant, but is hopefully the beginning of something
I like constructive!
> It currently seems impossible to me to squeeze data with standard
I suspect that your use case is somewhat different that the most, considering
That said, I'm open to improve libcurl to better fid a wider audience.
> - no raw callback (most of the following points could probably be solved
You mean one like the debug callback? Or how would it differ from the debug
> - no response bodies for redirects are provided
Nope. I've always considered libcurl to be about transferring data and when
If you don't like that, don't ask libcurl to follow redirects and do the
Or invent a new option that passes the 30x response bodies to the callback as
> - no real indicator if the data already is from a following response when
You can count them and you can check response code. In what way would you like
> - compressed data is inflated without updating headers (I can't force
libcurl never "updates" headers, it passes on the ones it got. Yes, you can
> - chunked encoded data is decoded without updating headers (I can't force
You are the first person ever who've requested this. May I ask what the use
How would you like to have that done if you'd get to choose?
> My current way to overcome these issues is to abuse the debug callback as
How is that abusing? And why is it only a "kind of" raw callback?
> which means that libcurl does many things I do afterwards anyway (or vice
Yes it seems so. But why do you it on your own when libcurl does it for you?
> I could easily understand if curl did all those things but I don't yet get
Because libcurl is a transfer library that transfers data. In general people
My question is rather the opposite: why would you force all that decoding work
But really, my main point with this reply is: please provide your suggestions
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-11-11
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info