summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlxmlhttprequest.cpp
diff options
context:
space:
mode:
authorTapani Mikola <tapani.mikola@nokia.com>2009-09-13 17:00:14 (GMT)
committerTapani Mikola <tapani.mikola@nokia.com>2009-09-18 07:02:05 (GMT)
commit332801a96a1ad21184daa139f6641a66c43e6b48 (patch)
tree9dfd3a8236aceb2af35017f23e10aad9c0b8e2bd /src/declarative/qml/qmlxmlhttprequest.cpp
parent6c52d48a5ed07a3ed21f5b74315ba6fcf06eaada (diff)
downloadQt-332801a96a1ad21184daa139f6641a66c43e6b48.zip
Qt-332801a96a1ad21184daa139f6641a66c43e6b48.tar.gz
Qt-332801a96a1ad21184daa139f6641a66c43e6b48.tar.bz2
Added \r\n between the headers in getAllResponseHeaders
Diffstat (limited to 'src/declarative/qml/qmlxmlhttprequest.cpp')
-rw-r--r--src/declarative/qml/qmlxmlhttprequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlxmlhttprequest.cpp b/src/declarative/qml/qmlxmlhttprequest.cpp
index 0b6353a..3ca61ae 100644
--- a/src/declarative/qml/qmlxmlhttprequest.cpp
+++ b/src/declarative/qml/qmlxmlhttprequest.cpp
@@ -1036,7 +1036,7 @@ QString QmlXMLHttpRequest::headers()
foreach (const HeaderPair &header, m_headersList) {
if (ret.length())
- ret.append(QString::fromUtf8(" "));
+ ret.append(QString::fromUtf8("\r\n"));
ret.append(QString::fromUtf8(header.first));
ret.append(QString::fromUtf8(": "));
ret.append(QString::fromUtf8(header.second));