Did I find the right examples for you? yes no

All Samples(7)  |  Call(0)  |  Derive(0)  |  Import(7)
Sources:
http://fragments.turtlemeat.com/pythonwebserver.php
http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python
...stackoverflow.com and such

after 27Aug - Apple's switch to https:
- added https WebServer with SSL encryption - needs valid (private) vertificate on aTV and server
- for additional information see http://langui.sh/2013/08/27/appletv-ssl-plexconnect/
Thanks to reaperhulk for showing this solution!

src/p/l/PlexConnect-HEAD/PlexConnect.py   PlexConnect(Download)
 
from Version import __VERSION__
import DNSServer, WebServer
import Settings
from Debug import *  # dprint()