D15312: Fix warning: content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.

Thomas Stibor noreply at phabricator.kde.org
Thu Sep 6 10:58:03 BST 2018


tstibor created this revision.
tstibor added reviewers: mutlaqja, lancaster.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
tstibor requested review of this revision.

REVISION SUMMARY
  When downloading/updaring data from the internet (comet, asteroids etc..) the http post command misses the  setHeader  "application/x-www-form-urlencoded" string.
  This simple patch fixes the warning:
  content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.

REPOSITORY
  R321 KStars

REVISION DETAIL
  https://phabricator.kde.org/D15312

AFFECTED FILES
  kstars/auxiliary/filedownloader.cpp

To: tstibor, mutlaqja, lancaster
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180906/b6b62d3e/attachment.html>


More information about the kde-edu mailing list