getting URL data from website when proxy required

Michael Kann mikekann at
Tue Jan 8 13:00:06 EST 2013

Can you access the desired website with a browser?

--- On Tue, 1/8/13, Mark Stuart <mfstuart at> wrote:

From: Mark Stuart <mfstuart at>
Subject: getting URL data from website when proxy required
To: use-revolution at
Date: Tuesday, January 8, 2013, 10:11 AM

I'm trying to download a web page content, and it looks like I have to use
the httpProxy setting.

This is done from a corporate office, in a Windows OS environment. I see
that IE > Internet options > Connections tab > LAN settings, the "Use a
proxy server" is checked and the Address and Port are defined. Address:
theProxyValue and Port is 8080.

So first, I tried without setting the httpProxy:
   set the htmlText of fld "Source" to URL fld "WebURL"
this put a lot of text into the field "Source".
Here's the META tag: <META http-equiv=Content-Type content="text/html;

    •         Technical Information (for support personnel)                
    •    Error Code: 407 Proxy Authentication Required. Forefront TMG requires
authorization to fulfill the request. Access to the Web Proxy filter is
denied. (12209)
    •    IP Address:
    •    Date: 1/8/2013 4:01:42 PM [GMT]
    •    Server:
    •    Source: proxy

So I used:
set the httpProxy to (theProxyValue & ":" & thePortValue)
set the httpHeaders to "Content-Type content=text/html; charset=UTF-8"
which returned the same Technical Information result into the field

So what am I missing?
How do I find out how to set the httpHeaders?
As from my search on the user-list, that's what seems to be the key in
getting this to work.
But I've no idea on how to get that info and to what it should be set.

Is this a trial and error go around?

Mark Stuart
View this message in context:
Sent from the Revolution - User mailing list archive at

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list