Change default Content-Type for http POST to match 4.7.4
authorShane Kearns <ext-shane.2.kearns@nokia.com>
Wed, 13 Jun 2012 16:27:31 +0000 (17:27 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 20 Jun 2012 22:58:05 +0000 (00:58 +0200)
commit4f578d15fe2ef176f0533c7ff4aea99b17636f85
tree3d38f920d8e0805066ad6dcd4f6a262c79fc02a1
parent3401e91be078b54c8a385757c42da437c24bfc90
Change default Content-Type for http POST to match 4.7.4

Qt 4.7.3 sent no Content-Type header by default.
This was fixed independently on 4.8.0 and 4.7.4 branches, with
different defaults.
Since this is often used for web service logins, the 4.7.4
default of x-www-form-urlencoded seems more likely to work.

The warning message is left in place, since not specifying the
content type is still an application bug.

Task-number: QTBUG-23350
Change-Id: I30bf50fd216ee9894d0168e904cea1ed4251ec68
Reviewed-by: Martin Petersson <Martin.Petersson@nokia.com>
src/network/access/qhttpnetworkrequest.cpp