This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
620031587 | |
Simple Python HTTP Server | |
''' | |
#import socket module | |
import socket | |
import threading | |
#Factor out common page serving logic to function |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" | |
type="text/javascript"></script> | |
<script src="validator.js" | |
type="text/javascript"></script> | |
</head> | |
<body> | |
<form> |