Remove deprecated xheaders. 
See django/django@64e11a68 for more information
Remove deprecated mimetype.
See django/django@8eadbc5a for more information.