fix the test for curl 7.29.0+
Fixed bug #64248
Fixed bug #64280