CL-723: Fix content-type
This commit is contained in:
parent
0326881c49
commit
4d331ecb50
|
@ -9,6 +9,7 @@ def response(content):
|
|||
result = HttpResponse(content)
|
||||
result["Access-Control-Allow-Origin"] = "*"
|
||||
result["Access-Control-Allow-Methods"] = "GET, POST, DELETE, OPTIONS"
|
||||
result["Content-Type"] = "application/json"
|
||||
return result
|
||||
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ def response(content):
|
|||
result = HttpResponse(content)
|
||||
result["Access-Control-Allow-Origin"] = "*"
|
||||
result["Access-Control-Allow-Methods"] = "GET, POST, DELETE, OPTIONS"
|
||||
result["Content-Type"] = "application/json"
|
||||
return result
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue