I hereby claim:
- I am mgillam on github.
- I am mic_wg (https://keybase.io/mic_wg) on keybase.
- I have a public key ASBx6jTmJTftj7dbmRGPNx4dWWaj4Wq_cvFvjoHqy1EGPAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import SimpleHTTPServer | |
class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
def send_head(self): | |
"""Common code for GET and HEAD commands. | |
This sends the response code and MIME headers. | |
Return value is either a file object (which has to be copied | |
to the outputfile by the caller unless the command was HEAD, | |
and must be closed by the caller under all circumstances), or |