function GetHeaders(username as string, password as string) as object
xfer = CreateObject("roUrlTransfer")
?"xfer.async is true"
msg = wait(0,xport)
?"we should have a message"
if type(msg) = "roUrlEvent"
?"ok we have a url event"
Two things.. 1) as evilmax17 asked, what's the response code? With roUrlTransfer, you only get headers for 200s. 2) Are you sure the site doesn't require Basic authentication? SetUserAndPassword only works with NTLM/Digest. If you need Basic, then you should be explicitly setting the Authorization header.
Object GetResponseHeadersArray(String feature) returns all the headers if multiple headers have the same