fix usage of defaultHttpCheck
Merge pull request #2447 from agourlay/fix-defaultHttpCheck-usage

fix usage of defaultHttpCheck