Add content_type to default response
@@ -268,4 +268,4 @@ def robots_txt(request, project):
if os.path.exists(fullpath):
return HttpResponse(open(fullpath).read(), content_type='text/plain')
- return HttpResponse('User-agent: *\nAllow: /\n')
+ return HttpResponse('User-agent: *\nAllow: /\n', content_type='text/plain')
