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.

CURL_FTP_HTTPSTYLE_HEAD

From: Nejc Drašček via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 17 Jan 2024 15:28:11 +0100

Hi,

I'm using ftp library ( github.com/embeddedmz/ftpclient-cpp ), which
under the hood uses libcurl, and some requests are "polluting" stdout
with http headers:

Last-Modified: Mon, 15 Jan 2024 14:32:44 GMT
Content-Length: 0
Accept-ranges: bytes

According to comment in lib/ftp.c this define is/was supposed to be
removed at next so bump. The define is still enabled on master at the
time of this message. Modifying libcurl source locally is not an option
since we're using vcpkg to manage (external) libraries.

If there is a way to do this I would be much obliged to be pointed in
that direction.

Best regards,

     Nejc


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-01-17