Ejemplo n.º 1
0
	def fileDeploy(self,req):
		environ = req.environ
		fileds=cgi.FieldStorage(environ["wsgi.input"],environ=environ)
		sv_file = fileds['svfile'].value
		sv_filename=fileds['svfile'].filename
		svfileman.svFileSave(sv_filename, sv_file)
		return 'true'
Ejemplo n.º 2
0
	def fileDeploy(self,req):
		res =Response(None,200)
		environ = req.environ
		fileds=cgi.FieldStorage(environ["wsgi.input"],environ=environ)
		sv_file = fileds['svfile'].value
		sv_filename=fileds['svfile'].filename
		svfileman.svFileSave(sv_filename, sv_file)
		return res
Ejemplo n.º 3
0
 def fileDeploy(self, req):
     res = Response(None, 200)
     environ = req.environ
     fileds = cgi.FieldStorage(environ["wsgi.input"], environ=environ)
     sv_file = fileds['svfile'].value
     sv_filename = fileds['svfile'].filename
     svfileman.svFileSave(sv_filename, sv_file)
     return res