[haXe] haxe.Http incomplete

Nicolas Cannasse ncannasse at motion-twin.com
Wed Apr 4 08:31:10 CEST 2007


> Hi Nicolas!
> 
> One question: I tried using haxe.Http for some test and when compiling I
> got this.
> (Target is js);
> Testbed.hx:125: characters 2-18 : haxe.Http has no field setPostData
> But I see here:
> http://haxe.org/api/haxe/Http
>  haxe.Http should have this in neko and js. Is this an error in the api,
> or I'm doing
> something wrong?

It's been added in haXe 1.12, check that you have been correctly upgraded.

> I'm using this because when using js.XMLHttpRequest I can't access to
> the answer as responseText

Why ?

> , there is not responseXML?

No, it's better to Xml.parse the responseText, because haxe is using a
custom api for crossbrowser XML.

Nicolas



More information about the Haxe mailing list