Fix XmlHttpRequest setHeader bug
authorCharles Yin <charles.yin@nokia.com>
Tue, 26 Jul 2011 23:57:37 +0000 (09:57 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 05:12:34 +0000 (07:12 +0200)
commit14496b18a67982ee25ed43aed6b6bcd7d6fa23ee
treec52c7ab1639a691308da90e3e628d31e14559186
parent44e58a337a9c314d4542ee6f2acc571aba877ccb
Fix XmlHttpRequest setHeader bug

Setting XMLHttpRequest raw header makes header name uppercase, the name
should be kept as it is.

Task-number:QTBUG-20472
Change-Id: I8aa8988d6d18d71ee71a7d2f9c3246b20f006f3c
Reviewed-on: http://codereview.qt.nokia.com/2225
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
14 files changed:
src/declarative/qml/qdeclarativexmlhttprequest.cpp
tests/auto/declarative/qdeclarativexmlhttprequest/data/abort.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/getResponseHeader.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/open_network.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.1.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.4.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/send_data.6.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_DELETE.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_GET.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/send_ignoreData_HEAD.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader.expect
tests/auto/declarative/qdeclarativexmlhttprequest/data/setRequestHeader_caseInsensitive.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativexmlhttprequest/data/status.expect
tests/auto/declarative/qdeclarativexmlhttprequest/tst_qdeclarativexmlhttprequest.cpp