diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-02-01 11:18:19 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-02-03 14:37:53 (GMT) |
commit | 2a6d7fcde4092f41230841bbe4c078f2e42166bb (patch) | |
tree | 5d66180780d7d8d85fd1f9b46bf7b3d4e702aa1f /src/network/access/qnetworkrequest.cpp | |
parent | f60ed3a2da4889cce6afbb059773a6c070929bb6 (diff) | |
download | Qt-2a6d7fcde4092f41230841bbe4c078f2e42166bb.zip Qt-2a6d7fcde4092f41230841bbe4c078f2e42166bb.tar.gz Qt-2a6d7fcde4092f41230841bbe4c078f2e42166bb.tar.bz2 |
Change default type for http POST to application/octet-stream
When the application did not set the mandatory content-type header for
POST requests, Qt was putting in application/x-www-urlencoded. While
this is the default for HTML forms, it isn't valid because Qt was not
also encoding the data.
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/access/qnetworkrequest.cpp')
0 files changed, 0 insertions, 0 deletions