New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS request does not work #1577

Closed
9il opened this Issue Sep 28, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@9il
Contributor

9il commented Sep 28, 2016

import vibe.core.log;
import vibe.http.client;


void main()
{
    requestHTTP("https://en.wikipedia.org/wiki/Main_Page",
        (scope req) {
        },
        (scope res) {
            logInfo("Response: %d", res.statusCode);
            foreach (k, v; res.headers)
                logInfo("Header: %s: %s", k, v);
        }
    );
}

OS X, vibe-d recent release and master.
The program exits with exit code -11

@9il

This comment has been minimized.

Show comment
Hide comment
@9il

9il Sep 28, 2016

Contributor
brew install openssl libevent
Warning: openssl-1.0.2h_1 already installed
Warning: libevent-2.0.22 already installed
Contributor

9il commented Sep 28, 2016

brew install openssl libevent
Warning: openssl-1.0.2h_1 already installed
Warning: libevent-2.0.22 already installed

@9il 9il changed the title from HTTPS does not work to HTTPS request does not work Sep 28, 2016

@s-ludwig s-ludwig closed this in 59cec1c Oct 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment