Subject: | Leaving out critical information from response headers |
I was trying to use Net::Amazon::S3, but I need to know when the key was
last modified on the server. The module will allow the Content-Length,
Content-Type, and ETag header through and any header starting with
X-Amz-Meta-.
However, this misses at least two potentially significant headers, Date,
and Last-Modified. At least these two headers should be allowed to pass
back out when getting a key.
It is my opinion that it is a mistake to filter these at all because
other headers might be significant to someone using the library or other
important headers could be added. Throwing away information doesn't seem
to be the right behavior to me.