5 Replies Latest reply on Jun 11, 2008 9:54 AM by tzeng

    Problem with adobe air ajax PUT request

    airajax
      Hi,

      Sorry for my english.
      I would like to send a XML document to a server with AJAX XmlHttpRequest Object.
      I use the PUT method.
      Adobe Air sends the PUT request without the contents and set the contents-length header to 0.
      If I replace the PUT method by a POST method Adobe Air sends the request with the document, but the service on my server do not allow POST requests.

      If I open the same page with Firefox, IE and Safari, all works fine.
      I do not understand why Adobe Air is not able to send my xml document with a PUT request but he can if I replace the method PUT by a POST ?!?
      I cannot change the implementation of the remote service so I need to send a PUT request.

      I see an old topic here ( http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=641&threadid=1309642#47 47452) speaking about my problem but I do not the right to add a message to the thread.

      Somebody can help me, please ?