change mimetype to content_type in HttpResponse
Merge branch 'mimetype-deprecated' into master-with-upstream
fix setting expiry twice