HTTP client doesn't fetch this url: https://steamcommunity.com/login/home/
Code:
import vibe.d;
void main() {
requestHTTP("https://steamcommunity.com/login/home/", (scope request) {
request.method = HTTPMethod.GET;
}, (scope response) {
auto result = response.bodyReader.readAll();
logInfo("status: %s %s", response.statusCode, response.statusPhrase);
});
}
dub.json:
{
"name": "test",
"dependencies": {
"vibe-d": "==0.7.21-rc.2"
},
"versions": ["VibeCustomMain"]
}
outputs:
status: 408 Request Time-out
Changing vibe-d version to 0.7.21-beta.4 (in dub.selections.json):
{
"fileVersion": 1,
"versions": {
"vibe-d": "0.7.21-beta.4",
"libevent": "2.0.1+2.0.16",
"openssl": "1.0.0+1.0.0e",
"libev": "4.0.0+4.04"
}
}
solves problem:
status: 200 OK
I don't know what is wrong with this page, because other pages (for example https://www.google.ru) are fetched without any problem.