No, it's not. content_type_len  isn't the same as content_type.len