TAXIIProject / yeti

YETI is a TAXII implementation
BSD 3-Clause "New" or "Revised" License
46 stars 19 forks source link

Handlers.py #137 always fails #37

Closed MarkDavidson closed 10 years ago

MarkDavidson commented 10 years ago

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 named message. When this line of code is reached, the following error is always raised AttributeError: 'HttpResponse' object has no attribute 'message'

MarkDavidson commented 10 years ago

Closing this as this is now in the domain of django-taxii-services