Which of these are implemented and supported by Flex 4 and which from AiR 2 ?
Are there any libraries or other workarounds for non supported ones?
What about this statement ?
"If you are a Flex developer you know very well that Flex doesn't support some HTTP headers like PUT or DELETE, so we will work with a free library called as3httpclientlib that uses a workaround using sockets to solve this Flex issue."
by this dude ...
I am unable to make DELETE work out of Flex and my googling is coming up with comments like one above and the following one ...
"Because of a browser limitation, Adobe Flash Player is unable to issue any PUT or DELETE methods ..."
I have come across multiple comments that all 4 are supported from within AiR.
I've spent many hours on this and here is the deal as I understand it.
1) HttpService and HttpMultiService claim to support PUT and DELETE in the docs, but that only applies via a server proxy even in AIR
2) flash.net.URLRequest supports PUT and DELETE from AIR without a proxy, but not in the browser. I understand FlashPlayer works through the browsers network connection, so cannot support PUT and DELETE when the browser doesn't
3) as3httpclientlib has been working fine for me for development in AIR on MacOS with HTTPS Basic Authentication, but failing with an encryption issue in my iPad app. I haven't solved this, and am switching to URLRequest. There was a showstopping limitation (bug FP-6) in FlashPlayer that prevented as3httpclientlib from reliably doing large uploads. The limitation has been addressed in recent versions of AIR and Flashplayer, but as3httpclientlib hasn't been updated to take advantage of it
4) Checkout as3awss3lib - it does PUT and DELETE with URLRequest
Cheers,
Gary
blog.buzzware.com.au
North America
Europe, Middle East and Africa
Asia Pacific