curl-users
Re: curl hangs after redirected HTTP PUT
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Jul 2008 23:31:16 +0200 (CEST)
Date: Wed, 30 Jul 2008 23:31:16 +0200 (CEST)
On Wed, 30 Jul 2008, Dan Fandrich wrote:
> On Wed, Jul 30, 2008 at 11:15:36PM +0200, Daniel Stenberg wrote:
>> It does make me wonder if doing a POST with a read callback works with a
>> redirect like this... It feels like it won't!
>
> That's exactly what I thought, too, so I created tests 1053 and 1054 and
> they pass! There's probably an if(method==POST) that should be
> if(method==POST||method=PUT) somewhere.
Ah right, but I was thinking about a read callback use like in test 508.
That's more internally similar to PUT than using -d and -F can be.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2008-07-30