def process_response(self, request, response):
        "Process response"
        if 'text/html' in response['Content-Type']:
            response.content = short(response.content)
        if settings.HARDTREE_MINIFY_JSON and response['Content-Type'] in settings.HARDTREE_RESPONSE_FORMATS['json']:
            response.content = _minify_json(response.content)
        return response
dataset/ETHPy150Open treeio/treeio/treeio/core/middleware/compress.py/SpacelessMiddleware.process_response/swapped operands of `in`