File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def handle_dir(self, abs_path):
103103 self .send_content (content )
104104 except IOError , msg :
105105 msg = "'%s' cannot be listed: %s" % (self .path , msg )
106- self .send_error (ERR_NO_PERM , msg )
106+ self .send_error (self . ERR_NO_PERM , msg )
107107
108108 # Send actual content.
109109 def send_content (self , content ):
Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ included in the HTTP request.
347347(We'll do this pretty frequently when debugging,
348348so we might as well get some practice.)
349349To keep our code clean,
350- we'l separate creating the page from sending it:
350+ we'll separate creating the page from sending it:
351351
352352~~~ {file="01-echo-request-info/server.py"}
353353class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
You can’t perform that action at this time.
0 commit comments