I'm new to rails, started first project today.
I'm also using flex and want to go RESTful over HTTP as much as
possible, most posts seem to think this is not possible!

Everything runs RESTfuly fine in the flex local sandbox, but fails in
the remote sandbox due to security.

I'm using as3httpclientlib as HTTPService doesn't do the job.
Flash sends a request <policy-file-request/> over the socket and
expects the policy file back. This is not HTTP so I get:

HTTP parse error, malformed request (127.0.0.1):
#<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.>
REQUEST DATA: "<policy-file-request/>\000"

This post seems to be the way but I have no idea where to put the
code.
http://clockingit.wordpress.com/2007/01/25/juggernaut-comet-fixes/#comment-1515
.

Question:
Using how/where do I intercept that request and return xml?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to