blob: 1fe37f3a1a3afb7d6e6a6409f40af9e2d1c76960 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#part-handler
# vi: syntax=python ts=4
def list_types():
return(["text/plain", "text/go-cubs-go"])
def handle_part(data,ctype,filename,payload):
if ctype == "__end__" or ctype == "__begin__": return
print "==== received ctype=%s filename=%s ====" % (ctype,filename)
print payload
print "==== end ctype=%s filename=%s" % (ctype, filename)
|