Skip to content

add :resource multimethod for ring.util.response/resource-data  #370

@yogthos

Description

@yogthos

When loading resources with GraalVM the protocol returned by the java.net.URL is "resource" instead of "jar". Mirroring the :jar resource-data multimethod would allow apps compiled with GraalVM to use wrap-resource to load resources from the image. Here's an example in a minimal project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions