S
SteveG
Here is some Visual Basic code I'm using to submit a HTTP GET to an URL
that should be returning some plain text data (MIME type is "text/Plain").
When I run the code on the PocketPC emulator, I'm getting the error "The
response did not contain an end of entity mark" in the
Webrequest.Getresponse method.
Any idea what the error means? I can find zero documentation. I only get
the error in the Pocket PC version of my application (the same code works
fine in Windows!), and only when submitting to this particular URL (the URL
is for a built-in webserver for a piece of network-enabled audio hardware).
Dim sResponse, rspText
Dim req As HttpWebRequest
Dim rsp As WebResponse
Dim rspStream As Stream
Dim creds As New NetworkCredential(userID, password)
Dim sURL As New Uri("http://192.168.0.103/apicmd.asp?cmd=next")
req = WebRequest.Create(sURL)
req.Credentials = creds
req.Method = "GET"
rsp = req.GetResponse()
Thanks!!
that should be returning some plain text data (MIME type is "text/Plain").
When I run the code on the PocketPC emulator, I'm getting the error "The
response did not contain an end of entity mark" in the
Webrequest.Getresponse method.
Any idea what the error means? I can find zero documentation. I only get
the error in the Pocket PC version of my application (the same code works
fine in Windows!), and only when submitting to this particular URL (the URL
is for a built-in webserver for a piece of network-enabled audio hardware).
Dim sResponse, rspText
Dim req As HttpWebRequest
Dim rsp As WebResponse
Dim rspStream As Stream
Dim creds As New NetworkCredential(userID, password)
Dim sURL As New Uri("http://192.168.0.103/apicmd.asp?cmd=next")
req = WebRequest.Create(sURL)
req.Credentials = creds
req.Method = "GET"
rsp = req.GetResponse()
Thanks!!