Fix middleware response.content types for python3
Merge pull request #15 from dzen/master

Fix middleware response.content types for python3