#NEWLINE# def request_data( self , merge = True ) : #NEWLINE# #INDENT# if merge : #NEWLINE# #INDENT# data = cherrypy . request . params #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( cherrypy . request . method == 'POST' ) : #NEWLINE# #INDENT# data = cherrypy . body . params #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# data = cherrypy . request . params #NEWLINE# #UNINDENT# #UNINDENT# return data