What’s a non-offensive way for a person to flirt with someone else?

If the person you’re flirting with doesn’t find you attractive, you’re now sexual harassing, not flirting lol