|
@@ -1,5 +1,5 @@
|
|
-from django.shortcuts import HttpResponse
|
|
|
|
import simplejson as json
|
|
import simplejson as json
|
|
|
|
+from django.shortcuts import HttpResponse
|
|
|
|
|
|
|
|
|
|
class ResponseObject(object):
|
|
class ResponseObject(object):
|
|
@@ -258,4 +258,4 @@ class ResponseObject(object):
|
|
if res is None:
|
|
if res is None:
|
|
res = {}
|
|
res = {}
|
|
result = self.formal(code, res)
|
|
result = self.formal(code, res)
|
|
- return HttpResponse(result, content_type='application/json,charset=utf-8')
|
|
|
|
|
|
+ return HttpResponse(result)
|