WebRequest “HEAD” light weight alternative

Open the connection yourself with a socket (instead of an HttpRequest or WebClient), and close the stream as soon as you’ve read the status code. Fortunately the status code comes near the top of the response stream 🙂

Leave a Comment