Forum: Ruby on Rails Fixing PUT to work with multipart messages

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Just S. (Guest)
on 2006-05-31 03:00
(Received via mailing list)
We recently wrote our API to be fully REST, and so user PUT for
updates. The problem is, we need multipart requests, but there's a bug
in CGI, and it doesn't work.

The rails code as a fix for POST requests, but not for PUT requests.
So we added PUT as well and it works great now. I posted this as a
patch in trac (http://dev.rubyonrails.org/ticket/5235) so you can get
it if you need this functionality.

Yu can also read about it in my blog:
http://devblog.famundo.com/articles/2006/05/30/fix...

Bye,

Guy.
This topic is locked and can not be replied to.