std.net.curl - HTTP.Method.options - perform()

2012-07-24 Thread Alex
Hello! Why does this code print output when I run it? - It only happens when the HTTP response Code is == 405 - 173.194.69.94 is a Google Server for testing - Are there any default callbacks which make this output? CODE: http://pastebin.com/CZP86Gwh OUTPUT: http://pastebin.com/AkA3Fv

Re: std.net.curl - HTTP.Method.options - perform()

2012-07-27 Thread David Eagen
On Tuesday, 24 July 2012 at 16:45:49 UTC, Alex wrote: Hello! Why does this code print output when I run it? - It only happens when the HTTP response Code is == 405 - 173.194.69.94 is a Google Server for testing - Are there any default callbacks which make this output? CODE: http://pas

Re: std.net.curl - HTTP.Method.options - perform()

2012-07-27 Thread Johannes Pfau
Am Fri, 27 Jul 2012 17:39:45 +0200 schrieb "David Eagen" : > > There must be a default onReceive that is writing that to stdout. > If I add this line just before the perform() call the output is > not generated: > > http.onReceive = (ubyte[] data) { /+ drop +/ return data.length; > }; > > -D