diff --git a/tests/tst_duperagent.qml b/tests/tst_duperagent.qml
index 38f2eff..8da30be 100644
--- a/tests/tst_duperagent.qml
+++ b/tests/tst_duperagent.qml
@@ -135,6 +135,7 @@ TestCase {
function test_gzip() {
Http.Request
.get("http://httpbin.org/gzip")
+ .set('Accept-Encoding', 'gzip, deflate')
.end(function(err, res){
verify(!err, err);
compare(res.status, 200);
============================================
function test_gzip() {
Http.Request
.get("http://httpbin.org/gzip")
.set('Accept-Encoding', 'gzip, deflate')
.end(function(err, res){
verify(!err, err);
compare(res.status, 200);
compare(res.body.gzipped, true);
done();
});
async.wait(timeout);
}
===========================================
Hi ,
If one of the tests is modified as below it
fails.