def METHOD_NAME(self, method, path, data='',
            content_type='application/octet-stream', secure=False, **extra):
    # Include the CONTENT_TYPE, regardless of whether or not data is empty.
    if content_type is not None:
        extra['CONTENT_TYPE'] = str(content_type)
    return super().METHOD_NAME(
        method, path, data, content_type, secure, **extra)