В Tue, 06 Mar 2012 22:44:46 +0100
Nicolas Cannasse <[email protected]> пишет:

> Le 06/03/2012 10:41, Alexander Konotop a écrit :
> > В Mon, 05 Mar 2012 21:24:53 +0100
> > Nicolas Cannasse<[email protected]>  пишет:
> >
> >> Le 05/03/2012 21:12, Alexander Konotop a écrit :
> >>> I've improved my HelloWorld - maked it to use threads and sending
> >>> http requests. It's compiling and and starting - so it seems like
> >>> You are right - my neko build works and I have some kind of
> >>> variable name conflict (btw specific for 1.8.2 and not for 1.8.1).
> >>> But I have no "$" symbols at all - I've searched in a code
> >>> directory with midnight commander - there are none of them. But
> >>> it's OK - I hope I'll find which variable has wrong name - maybe
> >>> another symbol or name causes a problem. Another thing is far more
> >>> interesting: neko 1.8.1 fits for me enough and I didn't use 1.8.2
> >>> before. Today I wanted just to test my project in 1.8.2 to make
> >>> sure that I've found a bug. Now I see that I've unfortunately
> >>> found it and 1.8.2 (+ haxe 2.08) behaviour doesn't differ from
> >>> 1.8.1 (+haxe 2.07). Please look at this simple example - maybe
> >>> I've just made a mistake in the code:
> >>
> >> Any reason you want to directly set the post data content ? Usually
> >> you would instead set a POST parameter with http.setParameter
> >> instead.
> >>
> >> Best,
> >> Nicolas
> >>
> >
> > Payment systems (like webmoney.ru) and social networks use XML or
> > JSON requests. To send XML/JSON I need setPostData() without any
> > parameters. setParameter() won't fit because I need just "{JSON}"
> > but not "param={JSON}". Currently I use such requests everywhere in
> > the project, but only either for js or for neko+hxCurl. This time I
> > tried to use neko without hxCurl.
> 
> For "https" you should use hxssl (haxelib install hxssl + -lib hxssl
> at compilation). Or else haxe.Http will throw an exception that https
> is not supported.
> 
> Best,
> Nicolas
> 
> 

Yes, I know. But this was introduced only in haxe 2.08. But I started
the project a year ago - so I use hxCurl. Maybe I'll migrate to
haxe.Http+hxssl after I'll build normal neko and haxe *.deb packages to
use it in production. And yes, I can use haxe 2.08 without building
debs - so it maybe considered as extra pedantry :-)

Best regards
Alexander

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to