HTTP errors on device!

Discussion in 'Questions (Windows Mobile)' started by Byak@, Sep 20, 2009.

  1. Byak@

    Byak@ Active Member Licensed User

    my program start Script in thread (BasicLib.dll) and Script run CallHostSub with http response.
    on desctop all work but on device i have diffrent errors!
    Code:
    Response code: -1
    ServerProtocolViolation
    if url "http://ya.ru"
    and

    Code:
    Response code:501
    Not Implemented
    if utl "http://pda.yandex.ru"

    help!
     
  2. Byak@

    Byak@ Active Member Licensed User

    code of celled sub

    Sub ortgetpage(ortn,url,codepage)
    'ErrorLabel(ortgetpageerr)
    req.new2(url,codepage)
    resp.new2(codepage)
    req.method="Get"
    req.timeout=90000
    resp.value=req.getresponse
    ss=resp.getstring
    resp.close
    Return ss
    ortgetpageerr:
    resp.close
    Return "%err%"
    End Sub
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice