So, i've played a bit and tested some things.
Before serving the blobkey i now set the header of the respond this
way:
res.setHeader("Content-Length", Long.toString(blobInfo.getSize() ));
res.setHeader("Content-Size", Long.toString(blobInfo.getSize() ));
Setting the header works, the respond says:
HTTP/1.1 200 OK
Content-Size: 66882
Content-Type: application/pdf
Date: Mon, 25 Oct 2010 08:10:15 GMT
Server: Google Frontend
Content-Length: 66882
Connection: close
But, all my browsers (I've testest with Safari, Firefox and Chrome)
still are not able to determine the filesize when downloading...
Do you have any idea what else i can try?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.