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

Qt WebKit XMLHttpRequest POST with empty data fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated: