第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

httpclient.AsyncHTTPClient如何使用代理請(qǐng)求一個(gè)http服務(wù)?

httpclient.AsyncHTTPClient如何使用代理請(qǐng)求一個(gè)http服務(wù)?

米琪卡哇伊 2018-10-17 21:15:22
描述你的問題我在torando服務(wù)端需要使用tornado.httpclient.AsyncHTTPClient通過代理請(qǐng)求一個(gè)http服務(wù),但是拋出了NotImplementedError: proxy_host not supported 的錯(cuò)誤。請(qǐng)問有什么好的解決方案嗎?難道tornado的異步請(qǐng)求httpclient不支持代理?貼上相關(guān)代碼@asynchronous@gen.coroutinedef get(self):   req = tornado.httpclient.HTTPRequest('http://****',    proxy_host='Proxy_IP_Address', proxy_port=8888)    response = yield AsyncHTTPClient().fetch(req)       result=response.body    self.write(str(result))       self.finish()貼上報(bào)錯(cuò)信息NotImplementedError: proxy_host not supported貼上相關(guān)截圖已經(jīng)嘗試過哪些方法仍然沒解決(附上相關(guān)鏈接)
查看完整描述

2 回答

  • 2 回答
  • 0 關(guān)注
  • 1744 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)