IPFS file's HTTP header should include "content-length"


#1

I tried IPFS Gateway.

Cloudflare’s IPFS Gateway and IPFS official gateway is something difference.
I noticed difference is HTTP header’s content-length property.

It become a problem with video files.
If don’t response content-length, web browser can’t stream (range HTTP header streaming) video and one of browser is can’t play.

For example, check this links.

https://ipfs.io/ipfs/QmQB6JE5BdZiXYYTGiAo3PP4jyUqPHZQtHhyT3vAJdE5Rp
https://cloudflare-ipfs.com/ipfs/QmQB6JE5BdZiXYYTGiAo3PP4jyUqPHZQtHhyT3vAJdE5Rp