Python WSGI Error on Output
问题 My python has become quite rusty as I haven't used it for quite a while and am stuck with an issue I am not able to figure out. The python program should accept a form's data sent by a web page, and return some JSON response codes back to it. Everything works fine except when the data is sent: def application(environ, start_response): """ Process the form data, spit out the reponse """ # code here extracts the form # data and the response code is # stored in info # everything done, output now