getting URL data from website when proxy required
mikekann at yahoo.com
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 cox.net> wrote:
From: Mark Stuart <mfstuart at cox.net>
Subject: getting URL data from website when proxy required
To: use-revolution at lists.runrev.com
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
• IP Address: xx.x.xx.xxx
• Date: 1/8/2013 4:01:42 PM [GMT]
• Server: theProxyValue.corporate.com
• 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?
View this message in context: http://runtime-revolution.278305.n4.nabble.com/getting-URL-data-from-website-when-proxy-required-tp4658744.html
Sent from the Revolution - User mailing list archive at Nabble.com.
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode