4 ms·
I think this is exactly what the HTTP 'HEAD' verb is for: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD https://developer.mozilla.org/en-US/doc
by danesparza 9y ago
I think this is exactly what the HTTP 'HEAD' verb is for: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HE...
- oelmekki 9y agoWouldn't a HEAD give the size of the zipped content, and not the size of the content once decompressed?
- danesparza 9y agoThis is a great question. I'm actually not sure, since gzip encoding/decoding is built-in to several webservers and browsers.