{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/HTTP/issues/87","labels_url":"https://api.github.com/repos/haskell/HTTP/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/haskell/HTTP/issues/87/comments","events_url":"https://api.github.com/repos/haskell/HTTP/issues/87/events","html_url":"https://github.com/haskell/HTTP/pull/87","id":86983335,"number":87,"title":"Fixes proxy on Windows","user":{"login":"Prillan","id":1675190,"avatar_url":"https://avatars.githubusercontent.com/u/1675190?v=3","gravatar_id":"","url":"https://api.github.com/users/Prillan","html_url":"https://github.com/Prillan","followers_url":"https://api.github.com/users/Prillan/followers","following_url":"https://api.github.com/users/Prillan/following{/other_user}","gists_url":"https://api.github.com/users/Prillan/gists{/gist_id}","starred_url":"https://api.github.com/users/Prillan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prillan/subscriptions","organizations_url":"https://api.github.com/users/Prillan/orgs","repos_url":"https://api.github.com/users/Prillan/repos","events_url":"https://api.github.com/users/Prillan/events{/privacy}","received_events_url":"https://api.github.com/users/Prillan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-10T14:08:27Z","updated_at":"2015-06-17T17:59:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haskell/HTTP/pulls/87","html_url":"https://github.com/haskell/HTTP/pull/87","diff_url":"https://github.com/haskell/HTTP/pull/87.diff","patch_url":"https://github.com/haskell/HTTP/pull/87.patch"},"body":"Parses the string from the registry.\r\n\r\nAccording to [this](https://support.microsoft.com/en-us/kb/819961), the string is in the format `protocol://ip:port`. However, on my Windows 7 I've found it to be \r\n\r\n    http=ip:port;https=ip:port;ftp=ip:port;socks=ip:port\r\n\r\nThis code will now work for both of them.\r\n\r\nSolves #82 "},"comment":{"url":"https://api.github.com/repos/haskell/HTTP/issues/comments/112893899","html_url":"https://github.com/haskell/HTTP/pull/87#issuecomment-112893899","issue_url":"https://api.github.com/repos/haskell/HTTP/issues/87","id":112893899,"user":{"login":"hsenag","id":451141,"avatar_url":"https://avatars.githubusercontent.com/u/451141?v=3","gravatar_id":"","url":"https://api.github.com/users/hsenag","html_url":"https://github.com/hsenag","followers_url":"https://api.github.com/users/hsenag/followers","following_url":"https://api.github.com/users/hsenag/following{/other_user}","gists_url":"https://api.github.com/users/hsenag/gists{/gist_id}","starred_url":"https://api.github.com/users/hsenag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsenag/subscriptions","organizations_url":"https://api.github.com/users/hsenag/orgs","repos_url":"https://api.github.com/users/hsenag/repos","events_url":"https://api.github.com/users/hsenag/events{/privacy}","received_events_url":"https://api.github.com/users/hsenag/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T17:59:03Z","updated_at":"2015-06-17T17:59:03Z","body":"Hmm, yes, that is a bit obscure. This might be simpler (if I got the types right):\r\n\r\n    windowsProxyString = liftM (>>= parseWindowsProxy) registryProxyString\r\n"}}