Skip to content

Instantly share code, notes, and snippets.

devgianlu devgianlu

Block or report user

Report or block devgianlu

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
@devgianlu
devgianlu / serve_http.py
Last active Aug 14, 2019 — forked from pankajp/serve_http.py
Simple Python HTTP Server with multi-threading, partial-content and basic authentication support
View serve_http.py
#! /usr/bin/env python
# Standard library imports.
from SocketServer import ThreadingMixIn
import BaseHTTPServer
import SimpleHTTPServer
import sys
import json
import os
from os.path import (join, exists, dirname, abspath, isabs, sep, walk, splitext,
You can’t perform that action at this time.