[ harisb2012 @ 22.08.2013. 20:44 ] @
Pozdrav, Kratko, kada u mod_wsgi aplikaciji napisem: Code: def application(environ, start_response): status = '200 OK' output = 'Hello mod_wsgi' response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] SVE RADI, ali kada se doda jedna neiskoristena varijabla, dogodi se error 500: Code: def application(environ, start_response): status = '200 OK' output = 'Hello mod_wsgi' test = 'test' response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] Zanima me u cemu je fazon... Da li postoji neka caka, nesto? Samo pomozite hitno |