{"pull_request":{"title":"Filter attributes","created_at":"2012-01-01T14:18:27Z","user":{"id":579011,"login":"Arxisos","url":"https://api.github.com/users/Arxisos","gravatar_id":"e3a69b921a17eb1aabca12702fbb5e64","avatar_url":"https://secure.gravatar.com/avatar/e3a69b921a17eb1aabca12702fbb5e64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"merged_at":"2012-01-01T16:43:53Z","review_comments":0,"updated_at":"2012-01-01T16:43:53Z","state":"closed","id":642809,"patch_url":"https://github.com/ServiceStack/ServiceStack/pull/55.patch","html_url":"https://github.com/ServiceStack/ServiceStack/pull/55","closed_at":"2012-01-01T16:43:53Z","deletions":50,"mergeable":null,"issue_url":"https://github.com/ServiceStack/ServiceStack/issues/55","base":{"user":{"id":605728,"login":"ServiceStack","url":"https://api.github.com/users/ServiceStack","gravatar_id":"68b42c967a61cc653c4d21dda724877a","avatar_url":"https://secure.gravatar.com/avatar/68b42c967a61cc653c4d21dda724877a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"ref":"master","sha":"94d9a48fb19a568279af23ab4cb8f6211958a525","repo":{"created_at":"2011-02-07T23:19:18Z","git_url":"git://github.com/ServiceStack/ServiceStack.git","open_issues":5,"watchers":385,"updated_at":"2012-01-01T16:43:53Z","fork":false,"id":1339922,"language":"C#","html_url":"https://github.com/ServiceStack/ServiceStack","name":"ServiceStack","description":"REST JSON, XML, JSV & SOAP Web Services Framework for .NET and MONO","master_branch":null,"clone_url":"https://github.com/ServiceStack/ServiceStack.git","pushed_at":"2012-01-01T16:43:53Z","url":"https://api.github.com/repos/ServiceStack/ServiceStack","ssh_url":"git@github.com:ServiceStack/ServiceStack.git","forks":53,"homepage":"http://www.servicestack.net","owner":{"id":605728,"login":"ServiceStack","url":"https://api.github.com/users/ServiceStack","gravatar_id":"68b42c967a61cc653c4d21dda724877a","avatar_url":"https://secure.gravatar.com/avatar/68b42c967a61cc653c4d21dda724877a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"size":13676,"private":false,"svn_url":"https://github.com/ServiceStack/ServiceStack"},"label":"ServiceStack:master"},"commits":3,"additions":470,"body":"I have ported the `Authenticate` attribute to the new approach. \r\n\r\nI created two new base classes for contextual (only execute on specific HTTP methods) attributes: \r\n- [RequestfFilterAttribute](https://github.com/Arxisos/ServiceStack/blob/94c31543c2a9a6d604b1f961830e1947bcde3b7e/src/ServiceStack.ServiceInterface/RequestFilterAttribute.cs)\r\n- [ResponseFilterAttribute](https://github.com/Arxisos/ServiceStack/blob/94c31543c2a9a6d604b1f961830e1947bcde3b7e/src/ServiceStack.ServiceInterface/ResponseFilterAttribute.cs)\r\n\r\n_The integration tests explain how to use these classes._\r\n\r\n\r\n...and I added more tests and an extension method for `IHttpRequest` to retrieve the `ICacheClient`.\r\n\r\n> Note: Soap integration tests are still failing!","number":55,"diff_url":"https://github.com/ServiceStack/ServiceStack/pull/55.diff","url":"https://api.github.com/repos/ServiceStack/ServiceStack/pulls/55","_links":{"review_comments":{"href":"https://api.github.com/repos/ServiceStack/ServiceStack/pulls/55/comments"},"html":{"href":"https://github.com/ServiceStack/ServiceStack/pull/55"},"self":{"href":"https://api.github.com/repos/ServiceStack/ServiceStack/pulls/55"},"comments":{"href":"https://api.github.com/repos/ServiceStack/ServiceStack/issues/55/comments"}},"merged_by":{"id":89361,"login":"mythz","url":"https://api.github.com/users/mythz","gravatar_id":"1257196ff88132651f94ac85f662c038","avatar_url":"https://secure.gravatar.com/avatar/1257196ff88132651f94ac85f662c038?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"merged":true,"changed_files":15,"head":{"user":{"id":579011,"login":"Arxisos","url":"https://api.github.com/users/Arxisos","gravatar_id":"e3a69b921a17eb1aabca12702fbb5e64","avatar_url":"https://secure.gravatar.com/avatar/e3a69b921a17eb1aabca12702fbb5e64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"ref":"master","sha":"94c31543c2a9a6d604b1f961830e1947bcde3b7e","repo":{"created_at":"2011-12-21T19:37:44Z","git_url":"git://github.com/Arxisos/ServiceStack.git","open_issues":0,"watchers":1,"updated_at":"2012-01-01T14:11:19Z","fork":true,"id":3029194,"language":"C#","html_url":"https://github.com/Arxisos/ServiceStack","name":"ServiceStack","description":"REST JSON, XML, JSV & SOAP Web Services Framework for .NET and MONO","master_branch":null,"clone_url":"https://github.com/Arxisos/ServiceStack.git","pushed_at":"2012-01-01T14:11:16Z","url":"https://api.github.com/repos/Arxisos/ServiceStack","ssh_url":"git@github.com:Arxisos/ServiceStack.git","forks":0,"homepage":"http://www.servicestack.net","owner":{"id":579011,"login":"Arxisos","url":"https://api.github.com/users/Arxisos","gravatar_id":"e3a69b921a17eb1aabca12702fbb5e64","avatar_url":"https://secure.gravatar.com/avatar/e3a69b921a17eb1aabca12702fbb5e64?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"size":120,"private":false,"svn_url":"https://github.com/Arxisos/ServiceStack"},"label":"Arxisos:master"}},"number":55,"action":"closed"}