3 ms·
Since we're on the topic of code quality, this example is an incredibly strong indication that you should be using an interface. And while the requests library
by busterarm 8y ago
Since we're on the topic of code quality, this example is an incredibly strong indication that you should be using an interface.
And while the requests library might be shorter/easier, it doesn't offer nearly the guarantees that it will exhibit the expected behavior nor the feature flexibility that libcurl does.
https://curl.haxx.se/libcurl/features.html https://curl.haxx.se/libcurl/features.html
https://curl.haxx.se/libcurl/theysay.html https://curl.haxx.se/libcurl/theysay.html