{"action":"created","comment":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments/44303713","id":44303713,"diff_hunk":"@@ -0,0 +1,71 @@\n+use hyper::method::Method;\n+use middleware::Middleware;\n+use nickel::Nickel;\n+use router::http_router::{HttpRouter};\n+\n+pub struct ChainableRoute<'a, D: Sync + Send + 'static = ()> {\n+    path: String,","path":"src/router/chainable_router.rs","position":7,"original_position":7,"commit_id":"b511ee66c7fbdb3e8fd0766b382e636db8921536","original_commit_id":"b511ee66c7fbdb3e8fd0766b382e636db8921536","user":{"login":"mattbanister","id":1837211,"avatar_url":"https://avatars.githubusercontent.com/u/1837211?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbanister","html_url":"https://github.com/mattbanister","followers_url":"https://api.github.com/users/mattbanister/followers","following_url":"https://api.github.com/users/mattbanister/following{/other_user}","gists_url":"https://api.github.com/users/mattbanister/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbanister/subscriptions","organizations_url":"https://api.github.com/users/mattbanister/orgs","repos_url":"https://api.github.com/users/mattbanister/repos","events_url":"https://api.github.com/users/mattbanister/events{/privacy}","received_events_url":"https://api.github.com/users/mattbanister/received_events","type":"User","site_admin":false},"body":"Yeah I'm trying to hack around my limitations in understanding lifetimes.  I'll try that and see if I can get it working with an &str.","created_at":"2015-11-09T17:33:28Z","updated_at":"2015-11-09T17:33:28Z","html_url":"https://github.com/nickel-org/nickel.rs/pull/288#discussion_r44303713","pull_request_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288","_links":{"self":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments/44303713"},"html":{"href":"https://github.com/nickel-org/nickel.rs/pull/288#discussion_r44303713"},"pull_request":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288"}}},"pull_request":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288","id":48647062,"html_url":"https://github.com/nickel-org/nickel.rs/pull/288","diff_url":"https://github.com/nickel-org/nickel.rs/pull/288.diff","patch_url":"https://github.com/nickel-org/nickel.rs/pull/288.patch","issue_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/288","number":288,"state":"open","locked":false,"title":"feat(router): Add chainable routes","user":{"login":"mattbanister","id":1837211,"avatar_url":"https://avatars.githubusercontent.com/u/1837211?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbanister","html_url":"https://github.com/mattbanister","followers_url":"https://api.github.com/users/mattbanister/followers","following_url":"https://api.github.com/users/mattbanister/following{/other_user}","gists_url":"https://api.github.com/users/mattbanister/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbanister/subscriptions","organizations_url":"https://api.github.com/users/mattbanister/orgs","repos_url":"https://api.github.com/users/mattbanister/repos","events_url":"https://api.github.com/users/mattbanister/events{/privacy}","received_events_url":"https://api.github.com/users/mattbanister/received_events","type":"User","site_admin":false},"body":"This doesn't work yet but I'm putting up the PR because I could use some help with it.","created_at":"2015-10-24T02:48:19Z","updated_at":"2015-11-09T17:33:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a51652136ccccd1dd7721591b1b3bc3c93146507","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288/commits","review_comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288/comments","review_comment_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/288/comments","statuses_url":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/b511ee66c7fbdb3e8fd0766b382e636db8921536","head":{"label":"mattbanister:route_chaining_redux","ref":"route_chaining_redux","sha":"b511ee66c7fbdb3e8fd0766b382e636db8921536","user":{"login":"mattbanister","id":1837211,"avatar_url":"https://avatars.githubusercontent.com/u/1837211?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbanister","html_url":"https://github.com/mattbanister","followers_url":"https://api.github.com/users/mattbanister/followers","following_url":"https://api.github.com/users/mattbanister/following{/other_user}","gists_url":"https://api.github.com/users/mattbanister/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbanister/subscriptions","organizations_url":"https://api.github.com/users/mattbanister/orgs","repos_url":"https://api.github.com/users/mattbanister/repos","events_url":"https://api.github.com/users/mattbanister/events{/privacy}","received_events_url":"https://api.github.com/users/mattbanister/received_events","type":"User","site_admin":false},"repo":{"id":44752006,"name":"nickel.rs","full_name":"mattbanister/nickel.rs","owner":{"login":"mattbanister","id":1837211,"avatar_url":"https://avatars.githubusercontent.com/u/1837211?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbanister","html_url":"https://github.com/mattbanister","followers_url":"https://api.github.com/users/mattbanister/followers","following_url":"https://api.github.com/users/mattbanister/following{/other_user}","gists_url":"https://api.github.com/users/mattbanister/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbanister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbanister/subscriptions","organizations_url":"https://api.github.com/users/mattbanister/orgs","repos_url":"https://api.github.com/users/mattbanister/repos","events_url":"https://api.github.com/users/mattbanister/events{/privacy}","received_events_url":"https://api.github.com/users/mattbanister/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattbanister/nickel.rs","description":"An expressjs inspired web framework for Rust","fork":true,"url":"https://api.github.com/repos/mattbanister/nickel.rs","forks_url":"https://api.github.com/repos/mattbanister/nickel.rs/forks","keys_url":"https://api.github.com/repos/mattbanister/nickel.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattbanister/nickel.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattbanister/nickel.rs/teams","hooks_url":"https://api.github.com/repos/mattbanister/nickel.rs/hooks","issue_events_url":"https://api.github.com/repos/mattbanister/nickel.rs/issues/events{/number}","events_url":"https://api.github.com/repos/mattbanister/nickel.rs/events","assignees_url":"https://api.github.com/repos/mattbanister/nickel.rs/assignees{/user}","branches_url":"https://api.github.com/repos/mattbanister/nickel.rs/branches{/branch}","tags_url":"https://api.github.com/repos/mattbanister/nickel.rs/tags","blobs_url":"https://api.github.com/repos/mattbanister/nickel.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattbanister/nickel.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattbanister/nickel.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattbanister/nickel.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattbanister/nickel.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/mattbanister/nickel.rs/languages","stargazers_url":"https://api.github.com/repos/mattbanister/nickel.rs/stargazers","contributors_url":"https://api.github.com/repos/mattbanister/nickel.rs/contributors","subscribers_url":"https://api.github.com/repos/mattbanister/nickel.rs/subscribers","subscription_url":"https://api.github.com/repos/mattbanister/nickel.rs/subscription","commits_url":"https://api.github.com/repos/mattbanister/nickel.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattbanister/nickel.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattbanister/nickel.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattbanister/nickel.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattbanister/nickel.rs/contents/{+path}","compare_url":"https://api.github.com/repos/mattbanister/nickel.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattbanister/nickel.rs/merges","archive_url":"https://api.github.com/repos/mattbanister/nickel.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattbanister/nickel.rs/downloads","issues_url":"https://api.github.com/repos/mattbanister/nickel.rs/issues{/number}","pulls_url":"https://api.github.com/repos/mattbanister/nickel.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/mattbanister/nickel.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/mattbanister/nickel.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattbanister/nickel.rs/labels{/name}","releases_url":"https://api.github.com/repos/mattbanister/nickel.rs/releases{/id}","created_at":"2015-10-22T14:46:12Z","updated_at":"2015-10-22T14:46:13Z","pushed_at":"2015-10-24T17:08:14Z","git_url":"git://github.com/mattbanister/nickel.rs.git","ssh_url":"git@github.com:mattbanister/nickel.rs.git","clone_url":"https://github.com/mattbanister/nickel.rs.git","svn_url":"https://github.com/mattbanister/nickel.rs","homepage":"http://nickel.rs","size":4733,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nickel-org:master","ref":"master","sha":"197aac310c80b6963574c2a5e32f3f22434702d1","user":{"login":"nickel-org","id":7941614,"avatar_url":"https://avatars.githubusercontent.com/u/7941614?v=3","gravatar_id":"","url":"https://api.github.com/users/nickel-org","html_url":"https://github.com/nickel-org","followers_url":"https://api.github.com/users/nickel-org/followers","following_url":"https://api.github.com/users/nickel-org/following{/other_user}","gists_url":"https://api.github.com/users/nickel-org/gists{/gist_id}","starred_url":"https://api.github.com/users/nickel-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickel-org/subscriptions","organizations_url":"https://api.github.com/users/nickel-org/orgs","repos_url":"https://api.github.com/users/nickel-org/repos","events_url":"https://api.github.com/users/nickel-org/events{/privacy}","received_events_url":"https://api.github.com/users/nickel-org/received_events","type":"Organization","site_admin":false},"repo":{"id":20462243,"name":"nickel.rs","full_name":"nickel-org/nickel.rs","owner":{"login":"nickel-org","id":7941614,"avatar_url":"https://avatars.githubusercontent.com/u/7941614?v=3","gravatar_id":"","url":"https://api.github.com/users/nickel-org","html_url":"https://github.com/nickel-org","followers_url":"https://api.github.com/users/nickel-org/followers","following_url":"https://api.github.com/users/nickel-org/following{/other_user}","gists_url":"https://api.github.com/users/nickel-org/gists{/gist_id}","starred_url":"https://api.github.com/users/nickel-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickel-org/subscriptions","organizations_url":"https://api.github.com/users/nickel-org/orgs","repos_url":"https://api.github.com/users/nickel-org/repos","events_url":"https://api.github.com/users/nickel-org/events{/privacy}","received_events_url":"https://api.github.com/users/nickel-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nickel-org/nickel.rs","description":"An expressjs inspired web framework for Rust","fork":false,"url":"https://api.github.com/repos/nickel-org/nickel.rs","forks_url":"https://api.github.com/repos/nickel-org/nickel.rs/forks","keys_url":"https://api.github.com/repos/nickel-org/nickel.rs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickel-org/nickel.rs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickel-org/nickel.rs/teams","hooks_url":"https://api.github.com/repos/nickel-org/nickel.rs/hooks","issue_events_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/events{/number}","events_url":"https://api.github.com/repos/nickel-org/nickel.rs/events","assignees_url":"https://api.github.com/repos/nickel-org/nickel.rs/assignees{/user}","branches_url":"https://api.github.com/repos/nickel-org/nickel.rs/branches{/branch}","tags_url":"https://api.github.com/repos/nickel-org/nickel.rs/tags","blobs_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/{sha}","languages_url":"https://api.github.com/repos/nickel-org/nickel.rs/languages","stargazers_url":"https://api.github.com/repos/nickel-org/nickel.rs/stargazers","contributors_url":"https://api.github.com/repos/nickel-org/nickel.rs/contributors","subscribers_url":"https://api.github.com/repos/nickel-org/nickel.rs/subscribers","subscription_url":"https://api.github.com/repos/nickel-org/nickel.rs/subscription","commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickel-org/nickel.rs/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickel-org/nickel.rs/contents/{+path}","compare_url":"https://api.github.com/repos/nickel-org/nickel.rs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickel-org/nickel.rs/merges","archive_url":"https://api.github.com/repos/nickel-org/nickel.rs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickel-org/nickel.rs/downloads","issues_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues{/number}","pulls_url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls{/number}","milestones_url":"https://api.github.com/repos/nickel-org/nickel.rs/milestones{/number}","notifications_url":"https://api.github.com/repos/nickel-org/nickel.rs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickel-org/nickel.rs/labels{/name}","releases_url":"https://api.github.com/repos/nickel-org/nickel.rs/releases{/id}","created_at":"2014-06-03T22:36:19Z","updated_at":"2015-11-08T09:22:52Z","pushed_at":"2015-11-09T17:22:57Z","git_url":"git://github.com/nickel-org/nickel.rs.git","ssh_url":"git@github.com:nickel-org/nickel.rs.git","clone_url":"https://github.com/nickel-org/nickel.rs.git","svn_url":"https://github.com/nickel-org/nickel.rs","homepage":"http://nickel.rs","size":5650,"stargazers_count":1180,"watchers_count":1180,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":90,"mirror_url":null,"open_issues_count":27,"forks":90,"open_issues":27,"watchers":1180,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288"},"html":{"href":"https://github.com/nickel-org/nickel.rs/pull/288"},"issue":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/issues/288"},"comments":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/issues/288/comments"},"review_comments":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288/comments"},"review_comment":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/288/commits"},"statuses":{"href":"https://api.github.com/repos/nickel-org/nickel.rs/statuses/b511ee66c7fbdb3e8fd0766b382e636db8921536"}}}}