Adds AttributeError to the exceptions for trying to read JSON data from the request in _before_request in order to support the case where JSON data is solely a list. If the JSON data is a list, we assume that it does not contain the request_csrf_token and move forward to look for the token in the headers.
Fixes #64
Adds
AttributeError
to the exceptions for trying to read JSON data from the request in_before_request
in order to support the case where JSON data is solely a list. If the JSON data is a list, we assume that it does not contain therequest_csrf_token
and move forward to look for the token in the headers.