1👍
✅
You can always send headers in Response as an argument and pass the header object like this
header = { X-Auth: result.tokenHash }
return Response(result, status=status.HTTP_201_CREATED, headers=header)
Also you can get more information about the Django Response here.
Hope that solves your problem.
Source:stackexchange.com