Just a thought, did you try "GET".

-----Original Message-----
From: M. H. K. [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 14, 2002 6:39 PM
To: ActiveServerPages
Subject: Getting the source of a URL


==================================
When I try to get the html source of a URL, I use this function
==================================

function GetSource(sURL)
dim objXML
Set objXML = CreateObject("Microsoft.XMLHTTP")

        objXML.Open "get", sURL, False
        objXML.Send
        GetSource = objXML.responseText

set objXML = Nothing
end function



==================================
and I end up getting this;
==================================

HTTP Status 501 - Method get is not defined in RFC 2068 and is not
supported by the Servlet API

This won't happend on all URL obviously. But I need that particular
URL's
source.

Does any one have a remedy or an alternative solution to this ? 

---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to