python httplib [Errno 104] Connection reset by peer问题
写了一个简单的httpclient方法,代码如下importhttplibimportjsonfromcommon.loggerimportsys_loggerdefhttp_req(address,path,method,data={},headers={},content_type='application/json'):conn=httplib.HTTPConnection(address)