Skip to content

Instantly share code, notes, and snippets.

View issaxyz's full-sized avatar
💭
I may be slow to respond.

issaxyz issaxyz

💭
I may be slow to respond.
View GitHub Profile
##############################
## Java
##############################
.mtj.tmp/
*.class
*.jar
*.war
*.ear
*.nar
hs_err_pid*
@issaxyz
issaxyz / python_webserver.py
Created April 8, 2021 13:08 — forked from tuxfight3r/python_webserver.py
python3 HTTP Echo Server with directory browsing
#!/usr/bin/env python3
# Author: Mohan Balasundaram
# Date: 02/05/2019
# Purpose: HTTP Echo server with directory browsing
# To run a http server and return all request headers in / path
# and to allow directory browsing in any other path prefix
from http.server import BaseHTTPRequestHandler, SimpleHTTPRequestHandler
import urllib.parse