class ContentLengthMiddleware(object):

    def process_response(self, request, response):
        response['Content-Length'] = str(len(response.content))
        return response

38e4b3734895f37afe64cd7fc48b6415a5a0e06f
<mask token>

class ContentLengthMiddleware(object):
    <mask token>

class ContentLengthMiddleware(object):

    def process_response(self, request, response):
        response['Content-Length'] = str(len(response.content))
        return response
