Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You won't be able to do this if you're downloading from a CDN. Which is exactly where you would host large files, for which progress reporting really matters.


Why not? Every CDN I've ever worked with preserves custom headers.


Right. For example S3 supports custom headers, as long as that header happens to start with "x-amz-meta-..." - and now your progress reporting is tied to your CDN choice!

Not sure about you, but to me "XmlHttpRequest" in my request handling code feels less dirty than "x-amz-meta-". But to each their own I guess.


S3 is not a CDN.

Check CloudFlare, Akamai, ...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: