diff options
| author | Shane Kearns <ext-shane.2.kearns@nokia.com> | 2012-06-13 16:27:31 (GMT) | 
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-28 13:22:22 (GMT) | 
| commit | 3584a3e500971d5669c9e3b6f2c18b1353fb4db6 (patch) | |
| tree | 7e1d01c9b85d81d44b7fce5ca48c5c32a0c2d79d /doc/src/snippets/code/doc_src_sql-driver.cpp | |
| parent | bab502c41306af30777d0702b26ee244eb544d21 (diff) | |
| download | Qt-3584a3e500971d5669c9e3b6f2c18b1353fb4db6.zip Qt-3584a3e500971d5669c9e3b6f2c18b1353fb4db6.tar.gz Qt-3584a3e500971d5669c9e3b6f2c18b1353fb4db6.tar.bz2 | |
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>
(cherry picked from commit 4f578d15fe2ef176f0533c7ff4aea99b17636f85)
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Diffstat (limited to 'doc/src/snippets/code/doc_src_sql-driver.cpp')
0 files changed, 0 insertions, 0 deletions
