https://bz.apache.org/ooo/show_bug.cgi?id=41037

oooforum (fr) <ooofo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ooofo...@free.fr

--- Comment #10 from oooforum (fr) <ooofo...@free.fr> ---
I bump this issue that still continue in 4.1.14
https protocol is not supported

Try this macro

sub main
    sPage = HttpGet("https://httpbin.org/ip";)
    msgbox sPage
end sub

function HttpGet(url)
    sfa = createunoservice("com.sun.star.ucb.SimpleFileAccess")
    instream = sfa.openFileRead(url)
    txtinstream = createunoservice("com.sun.star.io.TextInputStream")
    txtinstream.setInputStream(instream)
    html = txtinstream.readString(array(), False)
    txtinstream.closeInput()
    HttpGet = html
end function

Don't work and results this error:
An exception occured
Type: com.sun.star.ucb.InteractiveNetworkReadException
Message: .

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are on the CC list for the issue.

Reply via email to