h = httplib2.Http(".cache")
body = {"proxy_id": t.imei, "uid": pk, "device": "O", "status": "",
"start": "", "end": "", "cellphone": ""}
tb = urlencode(body)
# 經多次測試必須帶上headers參數,否則POST的數據(body)內容傳不上去
headers = {'Content-type': 'application/x-www-form-urlencoded'}
response, result = h.request("http://xxx.com/service", method="POST", body=tb, headers=headers)