Просмотр исходного кода

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

Malcolm Evershed 12 лет назад
Родитель
Сommit
857750c5f2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      uwsgi/hello.py

+ 1 - 1
uwsgi/hello.py

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