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