{"action":"created","issue":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/267","labels_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/267/comments","events_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/267/events","html_url":"https://github.com/nickel-org/nickel.rs/pull/267","id":102619897,"number":267,"title":"Add Mount middleware","user":{"login":"SimonPersson","id":606973,"avatar_url":"https://avatars.githubusercontent.com/u/606973?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonPersson","html_url":"https://github.com/SimonPersson","followers_url":"https://api.github.com/users/SimonPersson/followers","following_url":"https://api.github.com/users/SimonPersson/following{/other_user}","gists_url":"https://api.github.com/users/SimonPersson/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonPersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonPersson/subscriptions","organizations_url":"https://api.github.com/users/SimonPersson/orgs","repos_url":"https://api.github.com/users/SimonPersson/repos","events_url":"https://api.github.com/users/SimonPersson/events{/privacy}","received_events_url":"https://api.github.com/users/SimonPersson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-08-23T13:41:44Z","updated_at":"2015-08-29T14:51:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/pulls/267","html_url":"https://github.com/nickel-org/nickel.rs/pull/267","diff_url":"https://github.com/nickel-org/nickel.rs/pull/267.diff","patch_url":"https://github.com/nickel-org/nickel.rs/pull/267.patch"},"body":"Attempt at #259. \r\n\r\nThis middleware takes a mount point and a `Middleware`. When invoked, the mount point is compared with the incoming request, and if they match the underlying middleware is invoked but with the request path rewritten to have the mount point as root.\r\n\r\nPing @cburgdorf"},"comment":{"url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/comments/135994992","html_url":"https://github.com/nickel-org/nickel.rs/pull/267#issuecomment-135994992","issue_url":"https://api.github.com/repos/nickel-org/nickel.rs/issues/267","id":135994992,"user":{"login":"Ryman","id":994978,"avatar_url":"https://avatars.githubusercontent.com/u/994978?v=3","gravatar_id":"","url":"https://api.github.com/users/Ryman","html_url":"https://github.com/Ryman","followers_url":"https://api.github.com/users/Ryman/followers","following_url":"https://api.github.com/users/Ryman/following{/other_user}","gists_url":"https://api.github.com/users/Ryman/gists{/gist_id}","starred_url":"https://api.github.com/users/Ryman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ryman/subscriptions","organizations_url":"https://api.github.com/users/Ryman/orgs","repos_url":"https://api.github.com/users/Ryman/repos","events_url":"https://api.github.com/users/Ryman/events{/privacy}","received_events_url":"https://api.github.com/users/Ryman/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T14:51:06Z","updated_at":"2015-08-29T14:51:06Z","body":"@homu r+"}}