K
kardath
Hi,
I have some problem with the following code :
HttpWebResponse result =
(HttpWebResponse)req.GetResponse();
//result.ContentLength -> 159
Stream ReceiveStream = result.GetResponseStream();
//result.CharacterSet -> ""
//result.ContentType -> text/html; charset=utf-8
//result.ContentEncoding -> ""
//result.Headers -> Date: Tue, 25 Jul 2006 10:58:47 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie:
ASP.NET_SessionId=zmksm055kvyigzmlvxgohqe2; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 159
StreamReader XMLRead = new StreamReader(ReceiveStream,
System.Text.Encoding.UTF8);
String read = XMLRead.ReadLine();
//read is empty!!!
My problems is that the string read is empty....
Have you an idea?
Thanks
I have some problem with the following code :
HttpWebResponse result =
(HttpWebResponse)req.GetResponse();
//result.ContentLength -> 159
Stream ReceiveStream = result.GetResponseStream();
//result.CharacterSet -> ""
//result.ContentType -> text/html; charset=utf-8
//result.ContentEncoding -> ""
//result.Headers -> Date: Tue, 25 Jul 2006 10:58:47 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie:
ASP.NET_SessionId=zmksm055kvyigzmlvxgohqe2; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 159
StreamReader XMLRead = new StreamReader(ReceiveStream,
System.Text.Encoding.UTF8);
String read = XMLRead.ReadLine();
//read is empty!!!
My problems is that the string read is empty....
Have you an idea?
Thanks