Python script for a simple http upload server