Hi Daniel,
We suggest that you try again with Restlet 2.0 M5, this should be fixed. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ <http://www.restlet.org/> http://www.restlet.org Noelios Technologies ~ Co-founder ~ <http://www.noelios.com/> http://www.noelios.com De : Daniel Bell [mailto:[email protected]] Envoyé : mercredi 9 septembre 2009 05:26 À : [email protected] Objet : Restlet GWT: Problem with HTTP POST request in Firefox Hi all, Im having a problem using an HTTP POST request from my GWT client code. It works properly in Hosted Mode, and when using Internet Explorer after the client code is compiled, but not when running the compiled code in Firefox 3.5. According to FireBug, the browser is actually sending an HTTP OPTIONS request instead of a POST request. Any ideas what I might be doing wrong? My example usage follows. Request request = new Request(Method.POST, "http://localhost:8080/service"); request.getClientInfo().getAcceptedMediaTypes().add(new Preference<MediaType>(MediaType.APPLICATION_JSON)); new Client(Protocol.HTTP).handle(request, callBack); Thanks in advance, Daniel ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2401655

