It would be great if std.net.curl could be enhanced with an high level wrapper for form posts (multipart/form-data).
A low level curl example you can see here:
https://curl.haxx.se/libcurl/c/postit2.html
I have a quite uncommon issue with the package "request".
I work for a company which has rules how open source software can be used. Each software component needs to go through an open source process. Also each dependency needs to go through this process. And if the version of a dependency is changed I have to go through this process again.
request has in its standard configuration only 1 dependency. But "dub" build will cause the download also of the dependencies of the vibe.d configuration. In the end, this behavior of dub causes me to go through the process of all none needed dependencies:
Fetching libevent 2.0.2+2.0.16 (getting selected version)...
Fetching diet-ng 1.4.4 (getting selected version)...
Fetching requests 0.6.0 (getting selected version)...
Fetching botan-math 1.0.3 (getting selected version)...
Fetching openssl 1.1.6+1.0.1g (getting selected version)...
Fetching botan 1.12.9 (getting selected version)...
Fetching eventcore 0.8.27 (getting selected version)...
Fetching memutils 0.4.9 (getting selected version)...
Fetching vibe-d 0.8.2 (getting selected version)...
Fetching vibe-core 1.3.0 (getting selected version)...
Fetching libasync 0.8.3 (getting selected version)...
Fetching taggedalgebraic 0.10.9 (getting selected version)...
Performing "debug" build using dmd for x86.
requests 0.6.0: building configuration "std"... <--------- std build
If possible I would like to stay with std.net.curl;)
I would like to call the needed curl functions from my user code but that is not possible because the access to curl handle is private.
https://forum.dlang.org/thread/[email protected]
Could the access to this handle be provided from user code?
Comment #4 by igor.khasilev — 2018-02-05T11:03:52Z
Hello,
What you described is known and annoying problem with dub.
will the problem with requests fixed if I'll provide also Makefile in distribution, so that you can clone proper tag from github and run make?