Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
GeneralRe: pls correct my error Pin
Ali Iqbal Khan18-May-05 23:32
Ali Iqbal Khan18-May-05 23:32 
Generalmultiple SQl on mySQL Pin
Jassim Rahma18-May-05 20:26
Jassim Rahma18-May-05 20:26 
GeneralRe: multiple SQl on mySQL Pin
MoustafaS18-May-05 23:09
MoustafaS18-May-05 23:09 
GeneralProblem with namespaces/references Pin
methodincharge18-May-05 19:21
methodincharge18-May-05 19:21 
GeneralRe: Problem with namespaces/references Pin
Christian Graus18-May-05 19:41
protectorChristian Graus18-May-05 19:41 
GeneralRe: Problem with namespaces/references Pin
methodincharge19-May-05 2:24
methodincharge19-May-05 2:24 
GeneralRe: Problem with namespaces/references Pin
Christian Graus19-May-05 12:49
protectorChristian Graus19-May-05 12:49 
GeneralEmpty HttpWebResponse length for some urls Pin
Jason Manfield18-May-05 17:41
Jason Manfield18-May-05 17:41 
For some URLs (e.g.http://v3.espacenet.com/origdoc?DB=EPODOC&IDX=WO2005028634&F=0&QPN=WO2005028634), the content length for the HttpWebResponse I get with request.GetResponse in empty. The response.GetResponseStream() also empty.

Here is the code snippet:

HttpWebRequest req = (HttpWebRequest)WebRequest.Create(pageAddress);
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
StreamReader sr = new StreamReader(resp.GetResponseStream());
string pageData = sr.ReadToEnd();

The Content Type for the response is "text/html; charset=iso-8859-1" and the HttpStatusCode was OK.

What am I missing?

GeneralTwain or WIA Pin
g00fyman18-May-05 16:57
g00fyman18-May-05 16:57 
GeneralRe: Twain or WIA Pin
Christian Graus18-May-05 17:34
protectorChristian Graus18-May-05 17:34 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 17:46
g00fyman18-May-05 17:46 
GeneralRe: Twain or WIA Pin
Christian Graus18-May-05 18:02
protectorChristian Graus18-May-05 18:02 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 18:09
g00fyman18-May-05 18:09 
GeneralRe: Twain or WIA Pin
Luis Alonso Ramos18-May-05 18:13
Luis Alonso Ramos18-May-05 18:13 
GeneralRe: Twain or WIA Pin
Christian Graus18-May-05 18:13
protectorChristian Graus18-May-05 18:13 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 18:25
g00fyman18-May-05 18:25 
GeneralRe: Twain or WIA Pin
Luis Alonso Ramos18-May-05 18:37
Luis Alonso Ramos18-May-05 18:37 
GeneralRe: Twain or WIA Pin
g00fyman18-May-05 18:48
g00fyman18-May-05 18:48 
GeneralRe: Twain or WIA Pin
Luis Alonso Ramos18-May-05 19:19
Luis Alonso Ramos18-May-05 19:19 
GeneralImage passing Pin
Reanalyse18-May-05 16:14
Reanalyse18-May-05 16:14 
GeneralRe: Image passing Pin
Christian Graus18-May-05 16:27
protectorChristian Graus18-May-05 16:27 
GeneralProblem referencing a control from within another class Pin
OnlyTaz18-May-05 15:44
OnlyTaz18-May-05 15:44 
GeneralRe: Problem referencing a control from within another class Pin
Christian Graus18-May-05 16:28
protectorChristian Graus18-May-05 16:28 
GeneralRe: Problem referencing a control from within another class Pin
mehdipg18-May-05 17:15
mehdipg18-May-05 17:15 
GeneralRe: Problem referencing a control from within another class Pin
Luis Alonso Ramos18-May-05 17:54
Luis Alonso Ramos18-May-05 17:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.