![]() ![]() ![]() Anyone following these two projects can see that the curl project has a lot higher pace in all these areas, and it has been so for 15+ years. While this can be debated, I consider three metrics here: mailing list activity, source code commit frequency and release frequency. HTTP multipart/form-data sending, which allows users to do HTTP "upload" and in general emulate browsers and do HTTP automation to a wider extent.Ĭurl supports gzip, brotli, zstd and deflate Content-Encoding and does automatic decompression.Ĭurl offers and performs decompression of Transfer-Encoded HTTP, wget doesn't.Ĭurl does dual-stack (IPv4 + IPv6) connects using Happy EyeballsĬurl can do many transfers in parallel ( -Z). Wget only offers plain HTTP POST support. wget does not.īidirectional: curl offers upload and sending capabilities. With local or proxy based name resolving.Ĭurl supports HTTPS proxy, that is HTTPS to the proxy. SOCKS: curl supports SOCKS4 and SOCKS5 for proxy access. HTTP auth: curl supports more HTTP authentication methods, especially over HTTP proxies: Basic, Digest, NTLM, Negotiate and AWS v4 signatures. More SSL libraries and SSL support: curl can be built with one out of thirteen (13!) different SSL/TLS libraries, and it offers more control and wider support for protocol details. For example: OS/400, TPF and other more "exotic" platforms that aren't straight-forward Unix clones. More portable: curl builds and runs on lots of more platforms than wget. More protocols: curl supports FTP(S), GOPHER(S), HTTP(S), SCP, SFTP, TFTP, TELNET, DICT, LDAP(S), MQTT, FILE, POP3(S), IMAP(S), SMB(S), SMTP(S), RTMP, RTSP and WS(S). It transfers just the URLs that the user specifies, and does not contain any recursive downloading logic nor any sort of HTML parser. Single shot: curl is basically made to do single-shot transfers of data. Wget is more like cp, using the same analogue. Pipes: curl works more like the traditional Unix cat command, it sends more stuff to stdout, and reads more from stdin in a "everything is a pipe" manner. It is also slightly harder to make a library than a "mere" command line tool. This difference is major since it creates a completely different attitude on how to do things internally. Library: curl is powered by libcurl - a cross-platform library with a stable API that can be used by each and everyone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |