Forum: Ruby on Rails 301 instead of 302 on redirect_to - RESTful

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.
4d5e28840f8628550a22c410cb73ad60?d=identicon&s=25 Mattias Bud (mattias)
on 2007-02-15 16:35
All this works on my dev machine (mongrel_rails) which makes it hard to
debug. The deploy machine runs lighttpd 1.4.13 and rails 1.2.2.

This is how it lookes:

POST model/1 (_method PUT)
180.160.211.126 host.dk - [15/Feb/2007:16:05:53 +0100] "POST /model/6
HTTP/1.1" 301 0 "http://host.dk/model/6;edit?" "Mozilla/5.0 (Macintosh;
U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.1) Gecko/20061204
Firefox/2.0.0.1"

As you can see it returns 301 and not 302 which it should and does on
the dev machine. It never gets to the controller.

Any idears?

/mattias
This topic is locked and can not be replied to.