On Monday, 26 October 2015 at 10:47:20 UTC, tired_eyes wrote:
On Sunday, 25 October 2015 at 00:14:38 UTC, Mengu wrote:
hi all
what do you think about high level functions such as get,
post, put, delete returning a Request object with status code,
headers and content as its properties rather than just the
content? this would make things easier for n00bs and newcomers
to D as everyone would not have to create their own
httprequest.d file in order to get the status and headers
along with the content.
I've tried to use std.net.curl but ended using etc.c.curl and
arsd due to incompleteness of the current implementaton.
Currently std.net.curl lacks some trivial things, and this
topic was discussed before (but AFAIK no clear decision was
made).
having equivalent of Python's Request lib in Phobos would be
great imho.