D11172: Explicitly set content type to form data

Dan Leinir Turthra Jensen noreply at phabricator.kde.org
Fri Mar 9 11:20:15 UTC 2018


leinir added a comment.


  In D11172#221854 <https://phabricator.kde.org/D11172#221854>, @apol wrote:
  
  > Which warning? How does changing to "application/x-www-form-urlencoded" help?
  
  
  Sorry, i forgot to add it in the description. Specifically, this warning:
  content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.
  So, quite literally, this change has no effect other than silencing that warning which insists that i should silence it...

REPOSITORY
  R235 Attica

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

To: leinir, #frameworks
Cc: apol, #frameworks, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180309/8d11ed66/attachment.html>


More information about the Kde-frameworks-devel mailing list