refactor hasBody util
refactor hasBody util

liuwei9413/connect,llwanghong/connect,davehorton/drachtio,behind2/connect,wghust/connect,qitianchan/connect,keenwon/connect,tanveer12332/connect,mi2oon/connect,lian774739140/connect,chinazhaghai/connect,dkfiresky/connect,senchalabs/connect,RoseTHERESA/connect,austincitylimits/connect,khirayama/connect,khalerc/connect,gtomitsuka/connect,mi2oon/connect,RickyDan/connect