Return error code in plain text in file server
This commit is contained in:
		@@ -632,7 +632,7 @@ def cgi_wrapper(environ, start_response):
 | 
				
			|||||||
        except IOError:
 | 
					        except IOError:
 | 
				
			||||||
            headers['status'] = '404 Not found'
 | 
					            headers['status'] = '404 Not found'
 | 
				
			||||||
            start_response(headers['status'], list(headers.items()))
 | 
					            start_response(headers['status'], list(headers.items()))
 | 
				
			||||||
            return ''
 | 
					            return 'Error %s' % headers['status']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # actual morss use
 | 
					    # actual morss use
 | 
				
			||||||
    try:
 | 
					    try:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user