#NEWLINE# def get_metadata( headers ) : #NEWLINE# #INDENT# 'Get user defined options from HTTP response headers.' #NEWLINE# return dict ( ( ( k , k ) for ( k , v ) in headers . iteritems ( ) if any ( ( k . lower ( ) . startswith ( valid ) for valid in _GCS_METADATA ) ) ) )