import ujson


def application(environ, start_response):
    response = {
      "message": "Hello, World!"
    }
    data = ujson.dumps(response)
    response_headers = [
        ('Content-type', 'text/plain'),
        ('Content-Length', str(len(data)))
    ]
    start_response('200 OK', response_headers)
    return [data]

import ujson


def application(environ, start_response):
    response = {
      "message": "Hello, World!"
    }
    data = ujson.dumps(response)
    response_headers = [
        ('Content-type', 'application/json'),
        ('Content-Length', str(len(data)))
    ]
    start_response('200 OK', response_headers)
    return [data]

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

  import ujson
  
  
  def application(environ, start_response):
      response = {
        "message": "Hello, World!"
      }
      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)
      return [data]
  
Fix test to use proper Content-type for json test
## Code Before:
import ujson


def application(environ, start_response):
    response = {
      "message": "Hello, World!"
    }
    data = ujson.dumps(response)
    response_headers = [
        ('Content-type', 'text/plain'),
        ('Content-Length', str(len(data)))
    ]
    start_response('200 OK', response_headers)
    return [data]

## Instruction:
Fix test to use proper Content-type for json test
## Code After:
import ujson


def application(environ, start_response):
    response = {
      "message": "Hello, World!"
    }
    data = ujson.dumps(response)
    response_headers = [
        ('Content-type', 'application/json'),
        ('Content-Length', str(len(data)))
    ]
    start_response('200 OK', response_headers)
    return [data]
