I didn't know non-venomous snakes bit large animals (like humans) unless for self defense...
Well, to a snake, anything except hunting is done for self-defense!
But, they all have unique temperaments. The (misnamed) Chinese rat snake I had never attempted to strike. Like I said, it was extremely docile...almost friendly! I could pick it up, move it...whatever...and it never attempted a strike. They like water a lot, so I had to get it an extra large water dish as it would spend a lot of time just lounging in the water. I cleaned it's water dish daily.
The black rat snake, on the other hand, would not hesitate to strike if it felt threatened. I learned that I had to approach it confidently, but not aggressively. For example, when cleaning it's enclosure, I would make no sudden movements, but I would gently slide my hand under its midsection and gently lift it straight upward. Then, I would place it in a temporary holding pen as I cleaned its enclosure.
Approaching it from the front was a mistake. It saw this as aggression and would rear back and strike. Snakes fear movements toward their heads, so gently lifting from the midsection seemed to work well.
I've also played with numerous Garter Snakes as a kid. I never had one of those attempt a strike. We also have these little DeKay's snakes (full-grown only 10- 20 inches) that show up in my wife's flower garden. They are incredibly timid, yet beneficial, little guys that consume grubs and other pesky insects.
On the other hand, we have this snake called a "brown water snake" or "false moccasin." That bugger is downright frightening! It is non-venomous, but is very aggressive and will readily strike. You WILL think it's poisonous based on its behaviour and looks! It has long, sharp teeth for catching fish and will leave a nasty, painful wound if it snags you.