301 instead of 302 on redirect_to - RESTful


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) 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: Gecko/20061204

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?