Skip to content

Instantly share code, notes, and snippets.

@Francesco149
Francesco149 / minupload
Last active February 14, 2019 10:38
minimal file sharing/upload server example in python 2.7
#!/usr/bin/env python
"""
minimal example of a file sharing service in python 2.7 using only built-ins
there is no error check or security, this is meant to be as a base/reference
to quickly get started
This is free and unencumbered software released into the public domain.
http://unlicense.org/
@UniIsland
UniIsland / SimpleHTTPServerWithUpload.py
Created August 14, 2012 04:01
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""