Installed mod_wsgi 3.0-TRUNK (rev 1144) with Python 3k. I specify
Content-type in a test script as text/html, but the browser always
receives it as text/plain.
I used some fairly standard code:
def application(environ, start_response):
outstr = 'Hello,<br />World!'
content_type = 'text/html'
status = '200 OK'
headers = [ ('Content-type', content_type),
('Content-length', str(len(outstr))) ]
start_response(status, headers)
return [outstr]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---