Well Till Death Us Do Part did have a fair amount of mild swearing.
I think Alf's favourite was "Bloody" but there may have been stronger words.
Johnny Speight, who wrote it, did have constant arguments with the BBC about the swearing in it, so he always put more in the script, knowing they would take some out, and he would be left with what he wanted in the first place.
I am sure Steptoe had worse than "Gordon Bennett" and I seem to remember Peter Cook and Dudley Moore had swearing in Not Only But Also but I can't remember the details.
I remember the Monty Python show with the Spanish Inquisition characters in.
They constantly interrupted every sketch by coming in at the end of the sketch, but on the LAST sketch (set in a court room) they were sitting at home when the end credits started.
They rushed to the court room by bus and ran in the court room just as the credits ended and it faded to black and Michael Palin said "Bugger" which was perfect.
But I believe they had to fight the BBC to use that word, but finally got agreement.
But I have to say that some comedy has gone too far and uses swearing too much.
CLEVER comedians don't need to swear, only poor comedians need to swear, to emphasis the punch line and get a stronger laugh.
I was watching Toast of London recently and got fed up with constant use of the "F" word, which becomes a bit pointless after a while.
The one word "Bugger" at the end of that Python show was far funnier that 50 uses of the "F" word in Toast Of London.