diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-11-12 16:58:15 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2014-11-19 09:59:10 +0100 |
commit | ccd4da392c366dd4f7f71fa3b8aeddde1b3bc169 (patch) | |
tree | d104190a6b79ce065bb1855edc0ba991340ca960 /src/network/access/qnetworkaccessdebugpipebackend_p.h | |
parent | 9990e47f047925fce978ebda849bd7ae88608003 (diff) |
Do not force a content-type on POST request with no content
While a POST request with no body may be a pointless thing it does
happen on many websites. Currently this causes QtNetwork to print a
warning to the console and set an invalid content-type. This patch
allows the content-type to be absent when content is.
Task-number: QTBUG-42479
Change-Id: Ia84c89147d2469a9421b9694d062c797987b3194
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network/access/qnetworkaccessdebugpipebackend_p.h')
0 files changed, 0 insertions, 0 deletions