Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix server error response in simplehttp

  • Loading branch information...
commit 049db9c45cfdeb5fec46dfc6237339d8a50dd18c 1 parent 54452d5
sigh authored May 05, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  home/bin/simplehttp
2  home/bin/simplehttp
@@ -144,7 +144,7 @@ class SimpleRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
144 144
             self.end_headers()
145 145
             self.wfile.write(out)
146 146
         else:
147  
-            self.error_message_format = err
  147
+            self.error_message_format = 'Server Error'
148 148
             self.send_error(500)
149 149
 
150 150
     error_content_type = 'text/plain'

0 notes on commit 049db9c

Please sign in to comment.
Something went wrong with that request. Please try again.