Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64668

Qt WebKit XMLHttpRequest POST with empty data fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: WebKit
    • Labels:
      None

      Description

      POSTs with empty data fails:

       

      var xhr = new XMLHttpRequest();

      xhr.open('POST','https://url', true);

      xhr.send("");

       

      This is caused by FormDataIODevice::readData returning 0 instead of -1

       

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            annulen Konstantin Tokarev
            Reporter:
            stijnlast Stijn Last
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes