{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/412","labels_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/412/comments","events_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/412/events","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/412","id":118103634,"number":412,"title":"Support PathBase (#214).","user":{"login":"cesarbs","id":924164,"avatar_url":"https://avatars.githubusercontent.com/u/924164?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarbs","html_url":"https://github.com/cesarbs","followers_url":"https://api.github.com/users/cesarbs/followers","following_url":"https://api.github.com/users/cesarbs/following{/other_user}","gists_url":"https://api.github.com/users/cesarbs/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarbs/subscriptions","organizations_url":"https://api.github.com/users/cesarbs/orgs","repos_url":"https://api.github.com/users/cesarbs/repos","events_url":"https://api.github.com/users/cesarbs/events{/privacy}","received_events_url":"https://api.github.com/users/cesarbs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-20T18:53:26Z","updated_at":"2015-12-01T00:43:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/pulls/412","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/412","diff_url":"https://github.com/aspnet/KestrelHttpServer/pull/412.diff","patch_url":"https://github.com/aspnet/KestrelHttpServer/pull/412.patch"},"body":"Using `ServerAddress.Path` as PathBase. Had to change ServerAddress to not allow `Path` to be `/` or end with a `/`, since we don't want that for PathBase.\r\n\r\nI'm in doubt about the difference between a request to `/foo` and `/foo/` when PathBase is `/foo`. Should Path be empty in the first case (which OWIN allows) and `/` in the second case, or should it be `/` in both cases? I tried forcing it to be `/` in both cases but that caused some functional tests to fail.\r\n\r\nI'd appreciate some input on this.\r\n\r\n#214\r\n\r\ncc @Tratcher @halter73 @davidfowl "},"comment":{"url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/comments/160810203","html_url":"https://github.com/aspnet/KestrelHttpServer/pull/412#issuecomment-160810203","issue_url":"https://api.github.com/repos/aspnet/KestrelHttpServer/issues/412","id":160810203,"user":{"login":"cesarbs","id":924164,"avatar_url":"https://avatars.githubusercontent.com/u/924164?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarbs","html_url":"https://github.com/cesarbs","followers_url":"https://api.github.com/users/cesarbs/followers","following_url":"https://api.github.com/users/cesarbs/following{/other_user}","gists_url":"https://api.github.com/users/cesarbs/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarbs/subscriptions","organizations_url":"https://api.github.com/users/cesarbs/orgs","repos_url":"https://api.github.com/users/cesarbs/repos","events_url":"https://api.github.com/users/cesarbs/events{/privacy}","received_events_url":"https://api.github.com/users/cesarbs/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T00:43:08Z","updated_at":"2015-12-01T00:43:08Z","body":"@halter73 Done :+1: "}}