{"action":"opened","issue":{"url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/894","labels_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/894/labels{/name}","comments_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/894/comments","events_url":"https://api.github.com/repos/nodejitsu/node-http-proxy/issues/894/events","html_url":"https://github.com/nodejitsu/node-http-proxy/issues/894","id":112509392,"number":894,"title":"Why \"Must provide a proper URL as target\"?","user":{"login":"sulinixl","id":3376096,"avatar_url":"https://avatars.githubusercontent.com/u/3376096?v=3","gravatar_id":"","url":"https://api.github.com/users/sulinixl","html_url":"https://github.com/sulinixl","followers_url":"https://api.github.com/users/sulinixl/followers","following_url":"https://api.github.com/users/sulinixl/following{/other_user}","gists_url":"https://api.github.com/users/sulinixl/gists{/gist_id}","starred_url":"https://api.github.com/users/sulinixl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulinixl/subscriptions","organizations_url":"https://api.github.com/users/sulinixl/orgs","repos_url":"https://api.github.com/users/sulinixl/repos","events_url":"https://api.github.com/users/sulinixl/events{/privacy}","received_events_url":"https://api.github.com/users/sulinixl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-21T04:18:32Z","updated_at":"2015-10-21T04:18:32Z","closed_at":null,"body":"In the example, there has a lot of `proxy.web(req, res, { target: 'http://host:port' });`\r\n\r\nIf the `req.url` is \"http://github.com/nodejitsu/node-http-proxy\", the target must be \"http://github.com/\"?\r\n\r\nWhy `target` can not be empty, and \"http-proxy\" extract the `target` from `req.url`?"}}