urllib2.Request:: http Request sending successfully, but Response contains in valid data.

2009-02-11 Thread nRk
Hi I am trying to send Data to a website through http using urllib.request library using the bellow code. Response status code contains. 200 (OK) but Response contains nothing... With same data When I test using C# it working fine.. Response having.. some data in xml format. But I am using below

Re: urllib2.Request:: http Request sending successfully, but Response contains in valid data.

2009-02-11 Thread Tino Wildenhain
Hi, nRk wrote: Hi I am trying to send Data to a website through http using urllib.request library using the bellow code. Response status code contains. 200 (OK) but Response contains nothing... With same data When I test using C# it working fine.. Response having.. some data in xml format.

Re: urllib2.Request:: http Request sending successfully, but Response contains in valid data.

2009-02-11 Thread Steven D'Aprano
On Wed, 11 Feb 2009 01:56:19 -0800, nRk wrote: Hi I am trying to send Data to a website through http using urllib.request library using the bellow code. Response status code contains. 200 (OK) but Response contains nothing... No it doesn't, you say so later: it contains a set of bare