working fine. but 

wsgi_app.py

def application(environ, start_response):
     status = '200 OK'
     output = b'Hello World!'

     response_headers = [('Content-type', 'text/plain'),
                         ('Content-Length', str(len(output)))]
     start_response(status, response_headers)

     return [output]

[Tue Jun 27 18:43:26.759052 2017] [wsgi:error] [pid 6656:tid 940] [client 
::1:56396] mod_wsgi (pid=6656): Exception occurred processing WSGI script 
'C:/wsgi_app/wsgi_app.py'.
[Tue Jun 27 18:43:26.759052 2017] [wsgi:error] [pid 6656:tid 940] [client 
::1:56396] TypeError: sequence of byte string values expected, value of 
type str found\r

getting this error. i have changed the output type to byte. even though 
getting this error. 



-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to