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

Qt WebKit XMLHttpRequest POST with empty data fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.5.0
    • WebKit
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes