curl-library
Re: LibCurl autmoatically sends HEAD request after POST
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Feb 2014 08:00:22 +0100 (CET)
Date: Tue, 4 Feb 2014 08:00:22 +0100 (CET)
On Tue, 4 Feb 2014, Rahul R wrote:
> I send a POST request and i do get HTTP 202 Accepted in return to notify
> that the server has accepted the request for an asynchronous operation.
>
> After this, libCurl automatically sends HEAD to the same URL. I couldn't
> understand why this happens, as this is not (HTTP 202) redirect
> response(3XX).
>
> How to supress HEAD request in this case ?
Uh, libcurl is certainly not made nor intended to do that. Give us more info
please!
- libcurl version on which platform
- a detailed description of how you use libcurl, ideally a smallish source
that can repeat the problem
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-02-04