On 18/01/2021 19:48, Andreas Falkenhahn via curl-library wrote: > 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... > The response to a HTTP PUT may have a payload.
PUT does differ from POST more or less in the way you describe, but in the HTTP sense that has little to do with their response payloads (if any). You may wish to read more here: https://stackoverflow.com/a/5906115/4386278 Cheers ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html