| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Error 18 with -X HEAD and responses with Content-Length header set
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 16 Feb 2008 22:07:43 +0100 (CET)
On Sat, 16 Feb 2008, Fabian Keil wrote:
> In a regression test tool[1] I'm using curl's -X option to send various HTTP
[...]
> curl: (18) transfer closed with 4451 bytes remaining to read
That's not really a surprise. -X just changes the method keyword, not any
> As a workaround, I'm currently special-casing HEAD requests and set --head
Why isn't it pretty? And no, it doesn't prevent you from changing
> The attached patch (against 7.18.0) lets curl accept responses without body
Sorry, but I just don't see the need for this. All this does is remove an
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-02-16 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info