Skip to content

Commit

Permalink
Merge pull request #99 from eamars/3.0
Browse files Browse the repository at this point in the history
Fix spelling error
  • Loading branch information
Phus Lu committed Jan 17, 2015
2 parents 7c1a733 + f0a3b6a commit 746b968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/vps/goagentvps.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self):
def handle(self, handler, **kwargs):
logging.info('%s "%s %s %s" - -', handler.address_string(), handler.command, handler.path, handler.protocol_version)
if handler.command != 'CONNECT':
handler.wfile.write('HTTP/1.1 403 Forbidon\r\n\r\n')
handler.wfile.write('HTTP/1.1 403 Forbidden\r\n\r\n')
return
cache_key = kwargs.pop('cache_key', '')
sock = handler.net2.create_tcp_connection(handler.host, handler.port, handler.net2.connect_timeout, cache_key=cache_key)
Expand Down

0 comments on commit 746b968

Please sign in to comment.