Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block tkgwy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tkgwy /
Last active Apr 26, 2019
SimpleHTTPServer for SPA
import os
import sys
import urlparse
import SimpleHTTPServer
import BaseHTTPServer
class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def do_GET(self):
url = urlparse.urlparse(self.path)
You can’t perform that action at this time.