Skip to content

Javalin6 async example doesn't work #22

@Aincvy

Description

@Aincvy

Actual behavior (the bug)
Class: JavalinAsyncExampleApp

The string done was not response to the client, the client received Content-Length: 0

Expected behavior
Result should be response to the client.

To Reproduce
Run the exmaple

Additional context

See https://javalin.io/documentation#asynchronous-requests .

Seems need to call ctx.result manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions