Perhaps I'm getting something wrong, but after I added CORS middleware to my app, it started getting raw data instead of the type indicadted in the header, until I added the EncodeDecode middleware to the list, with the empty (default) parameters. Then, it worked.
Yes, default contsructor initialize EncodeDecodeMiddleware middleware. So when adding more than one you need to list all of them explicitly. May be we need to clarify this in docs.
Situation
Perhaps I'm getting something wrong, but after I added CORS middleware to my app, it started getting raw data instead of the type indicadted in the header, until I added the EncodeDecode middleware to the list, with the empty (default) parameters. Then, it worked.
Example
Congratulations for coding this a amazing app!