{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/175","repository_url":"https://api.github.com/repos/aspnet/BasicMiddleware","labels_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/175/comments","events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/175/events","html_url":"https://github.com/aspnet/BasicMiddleware/issues/175","id":188586125,"number":175,"title":"Is it possible to get the rewritten URI from the HttpResponseMessage?","user":{"login":"davidpeden3","id":1190710,"avatar_url":"https://avatars.githubusercontent.com/u/1190710?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpeden3","html_url":"https://github.com/davidpeden3","followers_url":"https://api.github.com/users/davidpeden3/followers","following_url":"https://api.github.com/users/davidpeden3/following{/other_user}","gists_url":"https://api.github.com/users/davidpeden3/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpeden3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpeden3/subscriptions","organizations_url":"https://api.github.com/users/davidpeden3/orgs","repos_url":"https://api.github.com/users/davidpeden3/repos","events_url":"https://api.github.com/users/davidpeden3/events{/privacy}","received_events_url":"https://api.github.com/users/davidpeden3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-10T18:42:15Z","updated_at":"2016-11-21T22:52:54Z","closed_at":null,"body":"I was trying to write some additional tests for the PRs that I submitted but was unable to get access to the rewritten URI. `response.RequestMessage.RequestUri` appears to always contain the original URI for both rewritten paths/URIs and redirects. I tried to trace this down to the underlying code and found:\r\n\r\nhttps://github.com/dotnet/corefx/blob/master/src/System.Net.Http/src/netcore50/System/Net/HttpHandlerToFilter.cs#L58\r\n\r\nbut gave up when it delegated to the WinRT code.\r\n\r\nAm I missing something here? Clearly the `HttpClient` follows the correct path but it does not appear to be possible to see what the ultimate path is.\r\n\r\n@Tratcher @jkotalik "},"comment":{"url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/comments/262093388","html_url":"https://github.com/aspnet/BasicMiddleware/issues/175#issuecomment-262093388","issue_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/175","id":262093388,"user":{"login":"muratg","id":1808428,"avatar_url":"https://avatars.githubusercontent.com/u/1808428?v=3","gravatar_id":"","url":"https://api.github.com/users/muratg","html_url":"https://github.com/muratg","followers_url":"https://api.github.com/users/muratg/followers","following_url":"https://api.github.com/users/muratg/following{/other_user}","gists_url":"https://api.github.com/users/muratg/gists{/gist_id}","starred_url":"https://api.github.com/users/muratg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratg/subscriptions","organizations_url":"https://api.github.com/users/muratg/orgs","repos_url":"https://api.github.com/users/muratg/repos","events_url":"https://api.github.com/users/muratg/events{/privacy}","received_events_url":"https://api.github.com/users/muratg/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T22:52:54Z","updated_at":"2016-11-21T22:52:54Z","body":"@davidpeden3 What kind of tests do you think this would be useful for?  If you want to do this for sending PRs to this repo, please see the existing tests... You can get the new URI on the app side itself."}}
{"actor":{"display_login":"muratg"}}