Dear Victor,
Am Mittwoch, 15. August 2012 11:47:25 UTC+2 schrieb Victor:
I checked the response header and it's
Content-Type:
text/html; charset=UTF-8.
Unfortunately I couldn't check the response because it's empty.
Is response empty in network sniffer/web inspector? Or in javascript
and
it says, the response is going to be eval'd
before it shows up in browser.
So what to do? Simply change the response content type? Is there any
base64-Type?
regards
mabei
Am Montag, 13. August 2012 14:00:46 UTC+2 schrieb Victor:
I deliver a URL to my controller service via prototype ajax
Additional info: when I print out the response to console I only receive:
*img src='data:image/jpeg;base64,' width='262'/*
So my base64-encoded string is cutted out. When calling
my reloadurl directly in the browser the image shows up correctly.
Any further suggestions to this?
regards
mabei
Dear list,
I jumped into a project that is using prototype lib and I implemented some
ajax image transfer service so far.
My questions is, if anyone has some advice on how to receive a base64
encoded image in prototype ajax response?
I deliver a URL to my controller service via prototype