{"action":"created","issue":{"url":"https://api.github.com/repos/crustymonkey/py-sonic/issues/6","labels_url":"https://api.github.com/repos/crustymonkey/py-sonic/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/crustymonkey/py-sonic/issues/6/comments","events_url":"https://api.github.com/repos/crustymonkey/py-sonic/issues/6/events","html_url":"https://github.com/crustymonkey/py-sonic/issues/6","id":53741669,"number":6,"title":"Misleading parameter baseurl","user":{"login":"c-yco","id":355591,"avatar_url":"https://avatars.githubusercontent.com/u/355591?v=3","gravatar_id":"","url":"https://api.github.com/users/c-yco","html_url":"https://github.com/c-yco","followers_url":"https://api.github.com/users/c-yco/followers","following_url":"https://api.github.com/users/c-yco/following{/other_user}","gists_url":"https://api.github.com/users/c-yco/gists{/gist_id}","starred_url":"https://api.github.com/users/c-yco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-yco/subscriptions","organizations_url":"https://api.github.com/users/c-yco/orgs","repos_url":"https://api.github.com/users/c-yco/repos","events_url":"https://api.github.com/users/c-yco/events{/privacy}","received_events_url":"https://api.github.com/users/c-yco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-08T11:40:21Z","updated_at":"2015-02-08T00:56:51Z","closed_at":"2015-02-08T00:56:51Z","body":"Hi, \r\n\r\nwhen using baseurl with something like 'http://hostname/madsonic' and having port set as '8885'\r\nthe constructed url gets 'http://hostname/madsonic:8885/rest' which is wrong as the port has to come directly after the hostname. \r\n\r\nI think it would be better to add an parameter hostname so you can construct the url by HOSTNAME + PORT + BASEURL\r\n\r\nI am not sure why it seems that I am the first one running into this, perhaps its also an missunderstanding on my side.\r\n"},"comment":{"url":"https://api.github.com/repos/crustymonkey/py-sonic/issues/comments/73391306","html_url":"https://github.com/crustymonkey/py-sonic/issues/6#issuecomment-73391306","issue_url":"https://api.github.com/repos/crustymonkey/py-sonic/issues/6","id":73391306,"user":{"login":"crustymonkey","id":526194,"avatar_url":"https://avatars.githubusercontent.com/u/526194?v=3","gravatar_id":"","url":"https://api.github.com/users/crustymonkey","html_url":"https://github.com/crustymonkey","followers_url":"https://api.github.com/users/crustymonkey/followers","following_url":"https://api.github.com/users/crustymonkey/following{/other_user}","gists_url":"https://api.github.com/users/crustymonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/crustymonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crustymonkey/subscriptions","organizations_url":"https://api.github.com/users/crustymonkey/orgs","repos_url":"https://api.github.com/users/crustymonkey/repos","events_url":"https://api.github.com/users/crustymonkey/events{/privacy}","received_events_url":"https://api.github.com/users/crustymonkey/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T00:56:51Z","updated_at":"2015-02-08T00:56:51Z","body":"Added more documentation in 0.3.3.  Closing"}}