for key, records in request.files.items():
    print(key)
for record in records:
    name, mime, stream = record
data = stream.read()
print('   %s %s %s %r' % (name, mime, stream, data))
return http.Response(stream='upload complete.')
How can I accomplish file uploads in twisted.web that don't suck?