title: How to tell if a URL points to file that can be opened for reading
body: <p>How can I tell if a URL points to a file, and that file can be opened for reading without actually reading the file (in case it's too big).</p>