def get_metadata(headers):
  return dict((k, v) for k, v in headers.iteritems()
              if k.startswith('x-goog-meta-'))
Get user defined metadata from HTTP response headers.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/cloudstorage/common.py/get_metadata