> I checked the response header and it's "
> text/html; charset=UTF-8".
> Unfortunately I couldn't check the response because it's empty.
> Printing the return-part in my controller I got the correct base64-encoded
You should check if it is actually written to HTTP response (maybe response
is already flushed).
> I checked prototype api docs and it says, the response is going to be
> before it shows up in browser.
> So what to do? Simply change the response content type? Is there any
How are you processing response? Please show your code (here or in
jsfiddle.net) or give a link to test site. Ajax.Response#responseText
should be filled from XMLHttpRequest#responseText no matter which
Content-Type is in response.
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at