Clean up metadata generation
The metadata is messy. I propose the following changes:
- Start every metadata entry that belongs to our server with
fiphobo:
(at the moment this iscreation_time
andbucket
, soon alsocontent_length
(see MR !47 (merged) ) and maybemd5
( issue #84 (closed) ) ) - when creating the metadata headers for the response (in getmd, at the end of
onRequest()
and soon in get, too) don't check for every custom metadata, that we added, but eliminate all that start withfiphobo:
- remove the
bucket_name
from all set_metadata functions, because it is too S3 specific anyway and instead add the bucketname at the same place where all metadata is added (=put_request_handler::onRequest()
)