Skip to content

Find a new API for Defaults() #734

@Kaliumhexacyanoferrat

Description

@Kaliumhexacyanoferrat

As a developer of a web application, I would like to have a well-configured server by default, but I also want as few dependencies as possible.

Currently, we have the GenHTTP.Modules.Practices which references some modules and adds their functionality within one call. This is easy to be used, but pulls in probably non-required dependencies. Additionally there is .Harden() provided by the security module, which is not documented and is possibly in conflict with :Default().

Input on how to solve this problem is welcome, probably from people who already wrote apps with GenHTTP.

Example

TBD

Acceptance criteria

  • TBD

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingImplementing this will cause a breaking change so it can only be part of major releases.enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions