{"action":"closed","issue":{"url":"https://api.github.com/repos/vulcand/oxy/issues/28","repository_url":"https://api.github.com/repos/vulcand/oxy","labels_url":"https://api.github.com/repos/vulcand/oxy/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/vulcand/oxy/issues/28/comments","events_url":"https://api.github.com/repos/vulcand/oxy/issues/28/events","html_url":"https://github.com/vulcand/oxy/issues/28","id":128379518,"number":28,"title":"can't redirect to correct url","user":{"login":"soyking","id":3882738,"avatar_url":"https://avatars.githubusercontent.com/u/3882738?v=3","gravatar_id":"","url":"https://api.github.com/users/soyking","html_url":"https://github.com/soyking","followers_url":"https://api.github.com/users/soyking/followers","following_url":"https://api.github.com/users/soyking/following{/other_user}","gists_url":"https://api.github.com/users/soyking/gists{/gist_id}","starred_url":"https://api.github.com/users/soyking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soyking/subscriptions","organizations_url":"https://api.github.com/users/soyking/orgs","repos_url":"https://api.github.com/users/soyking/repos","events_url":"https://api.github.com/users/soyking/events{/privacy}","received_events_url":"https://api.github.com/users/soyking/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-01-24T07:44:48Z","updated_at":"2016-06-25T11:36:41Z","closed_at":"2016-06-25T11:36:41Z","body":"I started a program using `forward` in localhost, and it will be redirected to another url, just like:\r\n`localhost:9090 `---> `localhost:8081/receive`\r\nbut there is only a request to `localhost:8081/`. It lost `receive`.\r\n\r\nthen I modified the code in `forward/fwd.go#copyRequest`:\r\n```\r\noutReq.URL.Opaque = req.URL.Path + req.RequestURI // it's `/receive` + some params\r\n``` \r\nand it worked.\r\n\r\nBut I think it may not be the best way to use this package.So could I get some suggestions?"}}
{"actor":{"display_login":"soyking"}}