websocket fails and resend AU request get a 467 response

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 10.2.0
    • Affects Version/s: 9.6.2
    • Component/s: None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      1. run the attached zul with developer tool open > network via websocket
      2. cause the websocket connect to close
      3. when the confirm dialog (the server is temporarily out of service) pops up, click ok

      Current Result

      zk AU get 467 response

      Expected Result

      the response should be 200

      Debug Information

      • it sends an object to the server instead of a string: reqInf.content
          function ajaxSendNow(reqInf) {
            // eslint-disable-next-line no-undef
            var fetchOpts = {
              credentials: 'same-origin',
              method: 'POST',
              headers: {
                'Content-Type': zAu.ajaxSettings.contentType,
                'ZK-SID': '' + reqInf.sid
              },
              body: reqInf.content
            };
            ....
            zAu._fetch(reqInf.uri, fetchOpts).then(function (response) {
        

            Assignee:
            DevChu
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: