[appengine-java] Re: File size when downloading files is missing

2010-10-25 Thread rapher
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.



[appengine-java] Re: File size when downloading files is missing

2010-10-20 Thread rapher
Am i really alone with this problem?

blobstoreService.serve(blobKey, byterange, res) doesn't work either.

-- 
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.