Line 137 currently reads logger.info('TAXII header validation failed for reason [%s]', make_safe(header_validation_resp.message))
The problem is that header_validation_resp is an HTTPResponse (not a TAXII Message) and therefore doesn't have a property named message. When this line of code is reached, the following error is always raised AttributeError: 'HttpResponse' object has no attribute 'message'
https://github.com/TAXIIProject/yeti/blob/master/taxii_services/handlers.py#L137
Line 137 currently reads
logger.info('TAXII header validation failed for reason [%s]', make_safe(header_validation_resp.message))
The problem is that
header_validation_resp
is an HTTPResponse (not a TAXII Message) and therefore doesn't have a property namedmessage
. When this line of code is reached, the following error is always raisedAttributeError: 'HttpResponse' object has no attribute 'message'