Hi, I have a flex front end that is not terribly REST friendly. The flash player (which flex runs on) doesn't support either the DELETE or PUT verbs.
In the local development environment, which runs Rails 2.3.5, I get around this issue by sending POST requests from flex that include an X_HTTP_METHOD_OVERRIDE header of either 'put' or 'delete'. Rails correctly identifies these POSTs as PUT or DELETE requests. (Prior to Rails 2.3.2 it was also possible to instead include _method=put in the URL, but no longer.) However, in Heroku, the X_HTTP_METHOD_OVERRIDE header is apparently lost or ignored somehow and Rails attempts to process these requests as POSTs. (Heroku is also on Rails 2.3.5.) Does anyone know why this is the case or - better still - how I can simulate PUT and DELETE requests in the Heroku environment? Thanks in advance, Dave
-- You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en.
