curl-library
Re: Question about Content-type: multipart
Date: Mon, 7 Mar 2016 01:26:55 -0800
On Mon, Mar 7, 2016 at 1:15 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Mon, 7 Mar 2016, Waitman Gobble wrote:
>
>> I've tried with and without Content-Length header.
>> Without adding the header it was sending 172 bytes, which I believe is
>> due to strlen()
>
>
> Test 1531 tests pretty much exactly this and it works fine.
>
> What libcurl version are you using?
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
Thanks, I'll check out the test. I appreciate it.
I was using 7.47 however now I'm using latest from git.
# pkg info | grep curl
curl-7.47.0 Non-interactive tool to get files from
FTP, GOPHER, HTTP(S) servers
# ../curl/src/curl --version
curl 7.47.2-DEV (amd64-unknown-freebsd10.2) libcurl/7.47.2-DEV
OpenSSL/1.0.2d zlib/1.2.8 libidn/1.31
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s
rtsp smb smbs smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
# ldd testcurl
testcurl:
libcurl.so.4 => /b/build/curl/distlib/libcurl.so.4 (0x800822000)
...
-- Waitman Gobble Los Altos California USA 650-900-8557 ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-03-07