

def get_headers_from_signature(self, signature):
    'Returns a list of headers fields to sign.\n\n        According to http://tools.ietf.org/html/draft-cavage-http-signatures-03\n        section 2.1.3, the headers are optional. If not specified, the single\n        value of "Date" must be used.\n        '
    match = self.SIGNATURE_HEADERS_RE.search(signature)
    if (not match):
        return ['date']
    headers_string = headers_string.group(1)
    return headers_string.split()

dataset/ETHPy150Open etoccalino/django-rest-framework-httpsignature/rest_framework_httpsignature/authentication.py SignatureAuthentication.get_headers_from_signature/VarMisuse@41/153 `match`->`headers_string`