digitalmars.D - on std.net.curl high level functions
- Mengu (7/7) Oct 24 2015 hi all
- tired_eyes (5/13) Oct 26 2015 I've tried to use std.net.curl but ended using etc.c.curl and
- Mengu (3/18) Oct 26 2015 having equivalent of Python's Request lib in Phobos would be
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.
Oct 24 2015
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).
Oct 26 2015
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:having equivalent of Python's Request lib in Phobos would be great imho.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).
Oct 26 2015