code: def record_staged(self):
          
          if self.enabled:
              pwargs = OpArgs(
                  self._pywbem_method,
                  self._pywbem_args)
              pwresult = OpResult(
                  self._pywbem_result_ret,
                  self._pywbem_result_exc)
              httpreq = HttpRequest(
                  self._http_request_version,
                  self._http_request_url,
                  self._http_request_target,
                  self._http_request_method,
                  self._http_request_headers,
                  self._http_request_payload)
              httpresp = HttpResponse(
                  self._http_response_version,
                  self._http_response_status,
                  self._http_response_reason,
                  self._http_response_headers,
                  self._http_response_payload)
              self.record(pwargs, pwresult, httpreq, httpresp)
docs: Encode staged information on request and result to output