I ran into this issue with pre-content negotiation Recess. Turns out
that since some time Recess would set the headers correctly but also
load the template and make that the response body. In general that
didn't matter, and even an error wouldn't cause a user-perceivable
problem b/c the browser never displays the body of a FOUND redirect.
Part of the problem turned out to be that I had a blank line at the end
of my recess.conf, causing the headers to be sent early--and the chunk
of Recess that sets the headers for a FOUND response (and others) was
wrapped in if(!headers_sent()), so it would just fail silently. Talked
with Kris about making that fail loudly, but I don't know if he got to
changing it yet.
In some cases even with the blank line removed, Recess still gave me
trouble when it couldn't find a view for a FOUND response. I ended up
adding 301 and 302 to the internal list of responses for which there
should be no body. This is not correct according to RFC, but in my
practical experience it is always correct.
--
Joshua Paine
LetterBlock: Web applications built with joy
http://letterblock.com/
301-576-1920