wsgi response body support bytearray

I have some python extension generate a response as bytearray, cause bytearray is mutable, which makes my code more efficient, but i don't want to copy it into a string before it returned as wsgi response, so i want to return bytearray directly.
wsgiref module already support this somehow, i guess it's just because it don't check the types. So i hope uwsgi can also support this use case.