Skip to content
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

Custom HTTP response generator #119

Open
Tectu opened this issue Aug 22, 2022 · 0 comments
Open

Custom HTTP response generator #119

Tectu opened this issue Aug 22, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Tectu
Copy link
Owner

Tectu commented Aug 22, 2022

As of today, http::generator provides some standard HTTP responses. These are mainly provided for convenience and are only used in very few places within the library itself.

It might make sense to extend this concept and provide a user-registerable generator. This way, whenever the library itself needs to generate such a standard response, it will invoke some user supplied code to generate the actual responses.

@Tectu Tectu added enhancement New feature or request good first issue Good for newcomers labels Aug 22, 2022
@Tectu Tectu changed the title Custom error generator Custom HTTP response generator Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant