Permalink
Browse files

Fix server error response in simplehttp

  • Loading branch information...
1 parent 54452d5 commit 049db9c45cfdeb5fec46dfc6237339d8a50dd18c @sigh committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 home/bin/simplehttp
View
@@ -144,7 +144,7 @@ class SimpleRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
self.end_headers()
self.wfile.write(out)
else:
- self.error_message_format = err
+ self.error_message_format = 'Server Error'
self.send_error(500)
error_content_type = 'text/plain'

0 comments on commit 049db9c

Please sign in to comment.