Pass the app instance to Request to allow access to opts
Correct name of content_encoding to encoding