{"action":"created","issue":{"url":"https://api.github.com/repos/OliverF/mjpeg-relay/issues/2","labels_url":"https://api.github.com/repos/OliverF/mjpeg-relay/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/OliverF/mjpeg-relay/issues/2/comments","events_url":"https://api.github.com/repos/OliverF/mjpeg-relay/issues/2/events","html_url":"https://github.com/OliverF/mjpeg-relay/issues/2","id":56642970,"number":2,"title":"No basic/digest auth support","user":{"login":"Silex","id":16015,"avatar_url":"https://avatars.githubusercontent.com/u/16015?v=3","gravatar_id":"","url":"https://api.github.com/users/Silex","html_url":"https://github.com/Silex","followers_url":"https://api.github.com/users/Silex/followers","following_url":"https://api.github.com/users/Silex/following{/other_user}","gists_url":"https://api.github.com/users/Silex/gists{/gist_id}","starred_url":"https://api.github.com/users/Silex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silex/subscriptions","organizations_url":"https://api.github.com/users/Silex/orgs","repos_url":"https://api.github.com/users/Silex/repos","events_url":"https://api.github.com/users/Silex/events{/privacy}","received_events_url":"https://api.github.com/users/Silex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-05T08:54:16Z","updated_at":"2015-02-05T17:27:03Z","closed_at":null,"body":"Hello,\r\n\r\nJust so you're aware, I had to modify the source to add in basic auth authorization.\r\n\r\nI think the CLI would be better if you just gave it the full url source instead of the `HOST:PORT PATH` separation.\r\n\r\nThat way one would write:\r\n\r\n`python relay.py -p 9000 \"http://user:password@10.10.10.204:10020/axis-cgi/mjpg/video.cgi?camera=1&time=1423069038&resolution=1600x1200&compression=40\"`\r\n\r\nMaybe you could use request (http://docs.python-requests.org/en/latest) instead of raw sockets?\r\n\r\nI'll probably make a PR to add at least basic auth support."},"comment":{"url":"https://api.github.com/repos/OliverF/mjpeg-relay/issues/comments/73088308","html_url":"https://github.com/OliverF/mjpeg-relay/issues/2#issuecomment-73088308","issue_url":"https://api.github.com/repos/OliverF/mjpeg-relay/issues/2","id":73088308,"user":{"login":"OliverF","id":1344418,"avatar_url":"https://avatars.githubusercontent.com/u/1344418?v=3","gravatar_id":"","url":"https://api.github.com/users/OliverF","html_url":"https://github.com/OliverF","followers_url":"https://api.github.com/users/OliverF/followers","following_url":"https://api.github.com/users/OliverF/following{/other_user}","gists_url":"https://api.github.com/users/OliverF/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverF/subscriptions","organizations_url":"https://api.github.com/users/OliverF/orgs","repos_url":"https://api.github.com/users/OliverF/repos","events_url":"https://api.github.com/users/OliverF/events{/privacy}","received_events_url":"https://api.github.com/users/OliverF/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T17:27:03Z","updated_at":"2015-02-05T17:27:03Z","body":"Understood - makes sense to use requests then.\r\nThanks for the example - I've got a couple of spare hours tonight, I'll go ahead and implement this. I'll update the CLI at the same time, too.\r\n\r\nCheers."}}