cURL / Mailing Lists / curl-library / Single Mail

curl-library

LibCurl autmoatically sends HEAD request after POST

From: Rahul R <rahul.rathi2005_at_gmail.com>
Date: Tue, 4 Feb 2014 12:26:00 +0530

Hi All,

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 ?

Thanks,
Rahul

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-04