Check if web address can be reached
Chad Armstrong <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello: What is an efficient method to check if a web address is valid and can be reached? I want to take an NSURL (www.example.com/foo.txt) and check if I can reach it. I don't need to download the data just yet, since the data could be arbitrarily large. Is there a way to make a call and receive a confirmation, such as a "200" message? - Chad