On Tue, Jun 3, 2014 at 6:03 AM, Tapir <[email protected]> wrote:

> My Flash app will load a static file (about 300k) in my app engine app.
> But for past several months, the progress always is shown as 0%.
> The reason for the problem is event.bytesTotal is always 0 now (but GAE
> returns the actual file size several months before).
>


Can you go into Chrome's Developer Tools and screenshot the response
headers? It should look like this: http://imgur.com/xntN07g

In particular, do you see any headers marked *Transfer-Encoding* or any
*3xx* status codes? If you do see a *Transfer-Encoding: Chunked* header,
that's why. Chunked transfers don't send a content length (read more here
<http://en.wikipedia.org/wiki/Chunked_transfer_encoding>) so you'll need to
figure out an alternate way to calculate the progress bar or send the
content length via another method.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to