On Monday, 1 December 2014 at 19:44:56 UTC, Suliman wrote:
My guess is that you have to use HTTPS for CONNECT and that you have to have credentials for it. (?)

Ali

dlang.org should work on HTTP, but not HTTPS.

Also I do not think that when I connect to HTTPS I should have any credentials. It's mostly like issue with curl...

connect() sends a "CONNECT" request to the server, as defined by HTTP [1]. This method is only used when you're working with proxies and the like. What you most likely want, however, is a "GET" request. Use get() for that.

[1] https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods

Reply via email to