The following code produces the following error. Have I missed something? I
followed the attached doc.
*Code:*
client = RequestsClient()
client.headers.update({'x-test': 'true'})
*Error:*
AttributeError: 'Client' object has no attribute 'headers'
*Doc:*
http://www.django-rest-framework.org/api-guide/testing/#headers-authentication
Thanks for the help
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.