curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Can the CURLOPT_WRITEFUNCTION ever be called when CURLOPT_UPLOAD is set to 1?

From: Andreas Falkenhahn via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 18 Jan 2021 20:48:49 +0100

On 18.01.2021 at 15:49 Daniel Stenberg wrote:

> This thread made me refresh the HTTP upload secion in "everything curl":
> https://ec.haxx.se/libcurl-http/upload
> Does it perhaps help to shine some light on this?

Yes, it does. Thanks for the link. So HTTP PUT can respond with contents like a HTML
page as well? I've always thought that this was reserved for HTTP POST and that HTTP PUT
was more like an FTP upload because it doesn't involve running a remote web application...

-- 
Best regards,
 Andreas Falkenhahn                            mailto:andreas_at_falkenhahn.com
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-01-18