diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2011-09-27 11:59:17 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2011-09-27 12:08:39 (GMT) |
commit | 5d809703aa2d2a08ae7e9610fd42025b081d3d0c (patch) | |
tree | 4d1a8798dcb544c971430c8ec8e3c3e49b5004cf /tests | |
parent | 160b82950ec53d3a0392df0fd18ac6856bfecbcf (diff) | |
download | Qt-5d809703aa2d2a08ae7e9610fd42025b081d3d0c.zip Qt-5d809703aa2d2a08ae7e9610fd42025b081d3d0c.tar.gz Qt-5d809703aa2d2a08ae7e9610fd42025b081d3d0c.tar.bz2 |
QNetworkRequest autotest: adapt to new cookie parsing (re. commas)
Cookies cannot be separated by commas anymore, but are separated by
new lines.
See "Remove support for multiple cookies in one Set-Cookie header to
follow RFC6265."
Reviewed-by: Martin Petersson
Task-number: QTBUG-21456
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qnetworkrequest/tst_qnetworkrequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qnetworkrequest/tst_qnetworkrequest.cpp b/tests/auto/qnetworkrequest/tst_qnetworkrequest.cpp index 9052716..02d1e5a 100644 --- a/tests/auto/qnetworkrequest/tst_qnetworkrequest.cpp +++ b/tests/auto/qnetworkrequest/tst_qnetworkrequest.cpp @@ -414,7 +414,7 @@ void tst_QNetworkRequest::rawHeaderParsing_data() QTest::newRow("SetCookie-3") << QNetworkRequest::SetCookieHeader << qVariantFromValue(QList<QNetworkCookie>() << cookie << cookie2) << true << "Set-Cookie" - << "a=b; path=/, c=d"; + << "a=b; path=/\nc=d"; } void tst_QNetworkRequest::rawHeaderParsing() |