[haXe] haxe.Http incomplete

NekoHaxe nekomail2k6-haxe at yahoo.com.mx
Wed Apr 4 14:58:01 CEST 2007


Err, Nicolas....

Haxe Compiler 1.11 - (c)2005-2007 Motion-Twin

It seems that the build in the page is the wrong one,
I downloaded it and this is what is reported,(the tar.gz for linux) 
I also look in std/haxe/Http.hx and there is
no setPostData anywhere... The CVS version does have it thoug.

Carlos

----- Mensaje original ----
De: Nicolas Cannasse <ncannasse at motion-twin.com>
Para: The haXe compiler list <haxe at lists.motion-twin.com>
Enviado: miércoles, 4 de abril, 2007 1:31:10
Asunto: Re: [haXe] haxe.Http incomplete

> 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

-- 
haXe - an open source web programming language
http://haxe.org







	
	
		
___________________________________________________________ 
Do You Yahoo!? 
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes. http://net.yahoo.com.mx 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070404/77f7cf39/attachment.htm


More information about the Haxe mailing list