Пример #1
0
 def ReadAction(self, oAction: cAction) -> None:
     super().ReadAction(oAction)
     oAction.uParams = oAction.dActionPars.get(u'params', u'')
     oAction.uRequestType = oAction.dActionPars.get(
         u'requesttype', u'POST')
     oAction.uHeaders = oAction.dActionPars.get(u'headers', u'{}')
     oAction.uProtocol = oAction.dActionPars.get(
         u'protocol', u'http://')
     oAction.iCodeOK = ToInt(oAction.dActionPars.get(u'codeok', u'200'))
Пример #2
0
 def ReadAction(self, oAction: cAction) -> None:
     super().ReadAction(oAction)
     oAction.uParams = oAction.dActionPars.get(u'params', u'')