Skip to content

Instantly share code, notes, and snippets.

Avatar

Dmytro Makhno dmakhno

View GitHub Profile
View python.py
#!/usr/bin/env python
# Copyright Jon Berg , turtlemeat.com
# Modified by nikomu @ code.google.com
# Updated for Python 2.4 (dmitry.zamaruev@gmail.com)
# Usage example:
# start server in required directory: python serve.py
# upload file to server: curl -F "upfile=@some.file.pdf" http://127.0.0.1:8080/
You can’t perform that action at this time.