'Add additional headers for management.'

def _update_management_header(self, request, x_ms_version):

    if (request.method in ['PUT', 'POST', 'MERGE', 'DELETE']):
        request.headers.append(('Content-Length', str(len(request.body))))
    request.headers.append(('x-ms-version', (x_ms_version or self.x_ms_version)))
    if (not (request.method in ['GET', 'HEAD'])):
        for (name, _) in request.headers:
            if ('content-type' == name.lower()):
                break
        else:
            request.headers.append(('Content-Type', self.content_type))
    return request.headers
