fix http request mock not work on 0.11.12 and no more test on 0.8.x