Skip to content

Allow :not-found to access options passed to server #67

@kennyjwilli

Description

@kennyjwilli

Right now the :not-found option expects a symbol that points to a Ring handler. This won't work if my response depends on some options set when starting the server. I would like to either (1) change this option to take in the server options and return a Ring handler or (2) add a new option that takes the server options and returns a Ring handler.

Option (1) will be a breaking change and option (2) would not. I have some preliminary code written that will solve this issue. However, the name for this option is not yet determined due to the aforementioned reasons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions