I initially posted this question on SO, thinking that it was more something on HTTP headers, but I played with http headers without success and I am now thinking it could be a requestbuilder issue.
Essentially, I am sending some (gzipped file) binary data read using the HTML5 File Reader API to my server via a requestbuilder call. When I set the setRequestData, the content is fine. I debug in all the way to the js and the content is fine. However the server side payload received is much larger 1.5 to 2 times the size of the content I set (the unzipped file is 10x the size). Also the firebug payload (in the net tab) says it's 1.5-2 times the size. Looks as if when the actual ajax request is made, the payload is somehow increased with additional data. I checked the payload and the payload actually looks fine! It's as if the end of the message cannot be found somehow. This only happens with binary data files, text file is fine.
All this is in dev mode.
If anybody has the slightest idea or a suggestion to make?
Thanks in advance,
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment