Den 31-08-2011 01:28, Sean Kelly skrev:
On Aug 17, 2011, at 6:19 PM, Jesse Phillips wrote:
On Thu, 18 Aug 2011 01:12:20 +0200, David Nadlinger wrote:
Now that Lars Kyllingstad's new and improved std.path has passed the
vote – congratulations, Lars! –, and Jose Armando Garcia, the author of
the proposed logging module, is currently not available, the etc.curl
module by Jonas Drewsen is at the front of the review queue. I have
volunteered to run the formal process for inclusion with Phobos.
(Sep 1 - Sep 7).
Code:
https://github.com/jcd/phobos/blob/curl-wrapper/etc/curl.d
API documentation:
http://freeze.steamwinter.com/D/web/phobos/etc_curl.html
---
Known issues:
* DDoc is not generated where the mixins ByLineAsync, ByLineSync,
ByChunkAsync and ByLineSync are used. This seems to be a limitation of
ddoc - suggestions on how to circumvent this appreciated.
Possible improvements:
* Progress may be deprecated in the future. Maybe implement a
replacement.
* Support typed http headers - (Johannes Pfau)
---
Doe libcurl provide any facility for URL encoding/decoding? Or perhaps there
should be an accompanying submission for doing so? Any nontrivial request will
need properly encoded URL parameters.
etc.curl.Protocol has the escape/unescape methods.
/Jonas