def content_type_to_charset(content_type):
    match = re.search(charset_pattern, content_type)
    if match:
        return match.group('charset')
Set Weights.
dataset/ETHPy150Open benoitbryon/django-downloadview/django_downloadview/utils.py/content_type_to_charset--crossover with--dataset/ETHPy150Open tflearn/tflearn/tflearn/models/dnn.py/DNN.set_weights