martenframework / marten

The pragmatic web framework.
https://martenframework.com
MIT License
396 stars 21 forks source link

content_type class method to generic handlers #233

Closed kates closed 1 month ago

kates commented 1 month ago

Added content_type class method to the Rendering concern which can be used to specify a custom content type for generic handlers.

https://github.com/martenframework/marten/issues/145