Skip to content

Instantly share code, notes, and snippets.

@JohnMurray
Created June 4, 2012 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnMurray/2865507 to your computer and use it in GitHub Desktop.
Save JohnMurray/2865507 to your computer and use it in GitHub Desktop.
Code descriptions for log-entry on API Anti-Patterns (johnmurray.io)
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
var statusCode = response.StatusCode;
return statusCode == HttpStatusCode.OK;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment