Răsfoiți Sursa

uwsgi: Fix test to use proper Content-type for json test

Malcolm Evershed 12 ani în urmă
părinte
comite
857750c5f2
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      uwsgi/hello.py

+ 1 - 1
uwsgi/hello.py

@@ -7,7 +7,7 @@ def application(environ, start_response):
     }
     }
     data = ujson.dumps(response)
     data = ujson.dumps(response)
     response_headers = [
     response_headers = [
-        ('Content-type', 'text/plain'),
+        ('Content-type', 'application/json'),
         ('Content-Length', str(len(data)))
         ('Content-Length', str(len(data)))
     ]
     ]
     start_response('200 OK', response_headers)
     start_response('200 OK', response_headers)