<s> import logging <EOL> log = logging . getLogger ( __name__ ) <EOL> def kwarg_range_header_handler ( ** kwargs ) : <EOL> keys = [ ] <EOL> range_headers = set ( [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> headers = kwargs . get ( '<STR_LIT>' , { } ) <EOL> for header in range_headers & set ( headers . keys ( ) ) : <EOL> keys . append ( "<STR_LIT>" . format ( header , headers [ header ] ) ) <EOL> return '<STR_LIT:|>' . join ( keys ) </s>
