Created by: qjing666
fix bug in submitter_demo:
different http server between python2 and python3
Unify variable names in submitter_demo