i get truncated httpsocket internetheaders values at some websites, does anybody know a solution?

i have this code in an actionEvent of a pushbutton:

   httpSocket1.get("http://xxxxxxxxxxxxx.com:9690";)

an this code in the headersReceived event of the httpsocket:

  dim i,j as integer
  dim s as string

  i = headers.count

  for j = 0 to i-1
    s=s+headers.name(j) + "=" + headers.value(j) +chr(13)
  next
  EditField1.text = s

works perfectly for the most sites, but at some websites i get truncated values.

f.e.
headers.name(1) returns "bitrate" and headers.value(1) returns "28" instead of "128" or headers.name(1) returns "Genre" and headers.value(1) returns "ock" instead of "Rock"

has it something to do with encodings or so...

thanx
toni

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to