curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: A string issue that after received the http 204, the curl_formadd function seems couldn't work again

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Jan 2017 11:56:23 +0100 (CET)

On Tue, 17 Jan 2017, 杨俊 wrote:

> 2. If it received the 204 from the server, the next time, the error would be
> happened. It just upload the header but no the content.

So what exactly does your program send and receive in that case?

To me it sounds like the server sends back a 204 and then when you do the next
operation, it is the server's decision to deny what you do or return an error
or something. libcurl itself will not send anything different depending on
what HTTP response code you got back in your previous request.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-17