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

NTLM: QNetworkAccessManager::put() does not work when authentication is required

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • Some future release
    • 4.5.1
    • Network
    • None

    Description

      I've tried uploading a file to an IIS6 WebDAV server using QNetworkAccessManager::put().
      On an open server this performs flawless however when an authentication is reqired QNetworkReply::NetworkError returns QNetworkReply::UnknownContentError. The return from the server is 400 (Bad Request). Uploading to the server using windows works.

      I believe the content-length in frame 15 (NTLMSSP_NEGOTIATE) is incorrect?
      Qt seems to insert the length of the original data while the IIS expects 0.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            xcm Martin Petersson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes