Return error code in plain text in file server

master
pictuga 2015-08-28 19:16:15 +02:00
parent ffda3fac7e
commit 5e87b56a03
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ def cgi_wrapper(environ, start_response):
except IOError:
headers['status'] = '404 Not found'
start_response(headers['status'], list(headers.items()))
return ''
return 'Error %s' % headers['status']
# actual morss use
try: