Phusion Rake and Post in Forms

0 views
Skip to first unread message

Kim

unread,
Jul 2, 2009, 5:37:19 PM7/2/09
to Ramaze
When I try to use a POST in a form submit I get the following error:

*** Exception Rack::Lint::LintError in
PhusionPassenger::Rack::ApplicationSpawner (env contains
HTTP_CONTENT_TYPE, must use ) (process 31960):

My understanding is that Phusion is inserting the HTTP_CONTENT_TYPE
into the header which Rack does not like.

Switching to GET works.

Can someone explain why GET works and not POST and how I can get POST
to work?

Michael Fellinger

unread,
Jul 2, 2009, 9:33:33 PM7/2/09
to ram...@googlegroups.com

Don't use Rack::Lint in production.
If you think it's a bug, file it at http://rack.lighthouseapp.com

--
^ manveru

Kim

unread,
Jul 2, 2009, 11:44:44 PM7/2/09
to Ramaze
Hi, I found your book that explains it. Thanks.
http://book.ramaze.net/#_the_dev_and_live_modes

It does seem like a bug though so I let the Rack group know.

On Jul 2, 6:33 pm, Michael Fellinger <m.fellin...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages