getting URL data from website when proxy required

Mark Stuart mfstuart at cox.net
Tue Jan 8 11:11:07 EST 2013


Hi,
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;
charset=UTF-8">

	•	     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: 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
"Source".


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?




-----
Regards,
Mark Stuart
--
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.




More information about the use-livecode mailing list