JangoSteve/remotipart — Issue #10: response interpreted using wrong content type
Author: gucki
Created: 2011-11-28 09:33:02+00:00
State: open

Using latest rails, rails-jquery and remotipart.

My rails app renders a js template after the submit. When no file is selected/ uploaded in the form everything works fine.

When a file is selected/ uploaded, the response is not interpreted as javascript anymore. As the response header still shows the correct content type "Content-Type:text/javascript; charset=utf-8", I assume something in remoitpart's response handling must be wrong.