{"action":"created","issue":{"url":"https://api.github.com/repos/tmenier/Flurl/issues/38","labels_url":"https://api.github.com/repos/tmenier/Flurl/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/tmenier/Flurl/issues/38/comments","events_url":"https://api.github.com/repos/tmenier/Flurl/issues/38/events","html_url":"https://github.com/tmenier/Flurl/pull/38","id":90981843,"number":38,"title":"Add AllowHttpStatus(HttpStatusCode)","user":{"login":"carolynvs","id":1368985,"avatar_url":"https://avatars.githubusercontent.com/u/1368985?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynvs","html_url":"https://github.com/carolynvs","followers_url":"https://api.github.com/users/carolynvs/followers","following_url":"https://api.github.com/users/carolynvs/following{/other_user}","gists_url":"https://api.github.com/users/carolynvs/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynvs/subscriptions","organizations_url":"https://api.github.com/users/carolynvs/orgs","repos_url":"https://api.github.com/users/carolynvs/repos","events_url":"https://api.github.com/users/carolynvs/events{/privacy}","received_events_url":"https://api.github.com/users/carolynvs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T14:33:19Z","updated_at":"2015-07-26T16:27:19Z","closed_at":"2015-07-26T16:10:29Z","pull_request":{"url":"https://api.github.com/repos/tmenier/Flurl/pulls/38","html_url":"https://github.com/tmenier/Flurl/pull/38","diff_url":"https://github.com/tmenier/Flurl/pull/38.diff","patch_url":"https://github.com/tmenier/Flurl/pull/38.patch"},"body":"It would be nice to directly use the HttpStatusCode enum when a pattern is not needed.\r\n\r\n```csharp\r\n\"http://www.api.com/foo/1\"\r\n    .AllowHttpStatus(HttpStatusCode.NotFound)\r\n    .DeleteAsync()\r\n```"},"comment":{"url":"https://api.github.com/repos/tmenier/Flurl/issues/comments/125013459","html_url":"https://github.com/tmenier/Flurl/pull/38#issuecomment-125013459","issue_url":"https://api.github.com/repos/tmenier/Flurl/issues/38","id":125013459,"user":{"login":"tmenier","id":1350414,"avatar_url":"https://avatars.githubusercontent.com/u/1350414?v=3","gravatar_id":"","url":"https://api.github.com/users/tmenier","html_url":"https://github.com/tmenier","followers_url":"https://api.github.com/users/tmenier/followers","following_url":"https://api.github.com/users/tmenier/following{/other_user}","gists_url":"https://api.github.com/users/tmenier/gists{/gist_id}","starred_url":"https://api.github.com/users/tmenier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmenier/subscriptions","organizations_url":"https://api.github.com/users/tmenier/orgs","repos_url":"https://api.github.com/users/tmenier/repos","events_url":"https://api.github.com/users/tmenier/events{/privacy}","received_events_url":"https://api.github.com/users/tmenier/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T16:27:19Z","updated_at":"2015-07-26T16:27:19Z","body":"Thanks! I pulled this and enhanced it a bit to take `params` so you can pass multiple, i.e. `url.AllowHttpSatus(HttpStatusCode.Conflict, HttpStatusCode.NotFound)`. I plan on pushing a NuGet update sometime today."}}