I think all great advices given here should be applicable with considering racers are more or less at the same driving skill/level.
For sure, some moves can take place on differents places but always with a safety margin which will not ruin opponents or yourself race. Most of the time, when you have some differents opportunities, it's mainly because of a mistake from the guy in front of you. I even get sometimes great pleasure pushing someone to the fault rather than making the brakes to pass.
But all we can do in theses (poor) online rules with plenty of newbies, rammers, etc, is to gain safe lines to pass and sometimes simply avoid mess around the turns. Don't also forget that we're in a game and safety margin is quite narrow from real life where you will not take the same risks (and other racers too).
It's the way I race when I get a same level opponent : only pass on safe spots, slow down when I'm passed, avoid collisions, check mirrors to see what moves take place behind me. And I often have to slow down my lap behind someone just to wait the right place to pass/overtake (or wait for the fault, mine too often). Issue: fast peoples behind me don't have the same patience.
On Suzuka track, I noticed lately that my races are betters when I start from the bottom of the starting grid because of 2 or 3 firsts turns mess. That's some sort of patience too.
I can agree with this, I have been in races with you, and you certainly played fair, just like your post!