Re: Python httplib, request & putrequest

2013-04-09 Thread Steven D'Aprano
On Tue, 09 Apr 2013 18:20:04 +0800, 小学园PHP wrote: > I need to use the python httplib. > > And i code two sample, the first works, not the second. > > But what i need is the second. > > In the second sample, the data seems not be sent correctly. > > I want to know where is the problem in the se

Python httplib, request & putrequest

2013-04-09 Thread ??????PHP
I need to use the python httplib. And i code two sample, the first works, not the second. But what i need is the second. In the second sample, the data seems not be sent correctly. I want to know where is the problem in the second. TIA, Levi Here is my two code: first sample: conn=ht

Python httplib, request & putrequest

2013-04-09 Thread ??????PHP
I need to use the python httplib. And i code two sample, the first works, not the second. But what i need is the second. In the second sample, the data seems not be sent correctly. I want to know where is the problem in the second. TIA, Levi Here is my two code: first sample: conn=httplib.HT