http headers - Videos loading with 206 - Partial Content -


i'm having problem loading videos - returning 206 (partial content) response. i'd fire event when 100%, it's not getting there.

here's in inspector:

response headers

accept-ranges:bytes accept-ranges:bytes connection:keep-alive content-length:12465963 content-length:12465963 content-range:bytes 0-12465962/12465963 content-type:video/mp4 date:wed, 01 apr 2015 00:26:29 gmt etag:"6f23fd3-be372b-51239e2090e70" host-header:192fc2e7e50945beb8231a492d6a8024 last-modified:fri, 27 mar 2015 00:04:58 gmt server:apache x-cache:sgcache-miss x-forwarded-for:189.135.253.115 

request headers

accept:*/* accept-encoding:identity;q=1, *;q=0 accept-language:en-us,en;q=0.8 cache-control:no-cache connection:keep-alive cookie:phpsessid=ml8n0hh37na09ggjcvvbeld383; key=76626f47b940e09d3601920b684befc62d703fd5%2bda9d8d1ede4727d1486ac7274487ffa8994d18f3%7c1427415309%7ce2fa179955ca0ce759d4ba10c1227e825bba261f%7czgv2ywrtaw4%3d dnt:1 host:[xxxxx] pragma:no-cache range:bytes=0- referer:[xxxxx] user-agent:mozilla/5.0 (macintosh; intel mac os x 10_10_2) applewebkit/537.36 (khtml, gecko) chrome/41.0.2272.104 safari/537.36 

i saw this: content-range:bytes 0-12465962/12465963 - , noticed has loaded last byte.

secondary question: see cache-control:no-cache. videos i'm loading aren't large, , nice keep them in cache short amount of time.

i'm clueless when comes headers , kind of thing. what's going on?

as long set range:bytes=0- in request, have 206 response. 0- means start @ byte zero, , give me bytes end of file. , server doing that. in fact receiving bytes, including last byte. content-range:bytes 0-12465962/12465963 inclusive. first byte @ position 0, second byte @ position 1, etc. 0-12465962 12465963 bytes total.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -