def prepare_content_length(self, body):
        if hasattr(body, 'seek') and hasattr(body, 'tell'):
            body.seek(0, 2)
            self.headers['Content-Length'] = builtin_str(body.tell())
            body.seek(0, 0)
        elif body is not None:
            l = super_len(body)
            if l:
                self.headers['Content-Length'] = builtin_str(l)
        elif (('GET', 'HEAD') not in self.method) and (self.headers.get('Content-Length') is None):
            self.headers['Content-Length'] = '0'
dataset/ETHPy150Open BergWerkGIS/QGIS-CKAN-Browser/CKAN-Browser/request/models.py/PreparedRequest.prepare_content_length/swapped operands of `not in`