echo
echo copied to clipboard
Allow content type middleware
Based on #2551
Adds a new middleware AllowContentType which restricts routes to only accepts requests with certain Content-Type header values.
It's similar to the middleware of the same name available with Chi
The middleware also sets the Accept header field to the specified content types for all requests