An exception is thrown when receiving compressed content. The stack trace point to "GzipStream.get_position()". I have created a pull request with a suggested solution.