Check If URL Is Valid

Jeff Massung massung at gmail.com
Sun Aug 8 13:27:11 EDT 2010


Ah, if you are curious about redirects, you should be able to use the HTTP
headers returned from the site to know if what you got back was what you
were actually asking for.

Jeff M.

On Sun, Aug 8, 2010 at 12:23 PM, Colin Holgate <coiin at verizon.net> wrote:

>
> On Aug 8, 2010, at 12:49 PM, Jeff Massung wrote:
>
> > I believe "the result" of your get will have an error message in it if
> the
> > URL doesn't exist. Otherwise the result is empty.
>
>
> It does indeed contain:
>
> error 404 Not Found
>
> but it has the same limitation I mentioned, if you try a nonexistent page
> that redirects successfully, the result will still be empty.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the Use-livecode mailing list