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

router.match doesn't work with delegates anymore #1866

wilzbach opened this Issue Jul 20, 2017 · 1 comment


None yet
2 participants

wilzbach commented Jul 20, 2017

Worked fine in 0.7.31, but broke in v0.8.0:

#!/usr/bin/env dub
/+ dub.sdl:
name "hello_vibed"
dependency "vibe-d" version="~>0.8.0"
void main()
    import vibe.d;
    auto settings = new HTTPServerSettings;
    settings.port = 8080;
    auto router = new URLRouter;
    router.match(HTTPMethod.HEAD, "aa", (req, res) {
        res.writeBody("Hello, World: " ~ req.path);
    listenHTTP(settings, router);

Will prepare a PR soon.


This comment has been minimized.

Show comment
Hide comment

s-ludwig Jul 20, 2017


Fixed by #1867.


s-ludwig commented Jul 20, 2017

Fixed by #1867.

@s-ludwig s-ludwig closed this Jul 20, 2017

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