Example HTTP echo server. import time import os import urllib import sys import json import sys