Some snakes can be quite docile. They can be kept as pets, but owners know that there are boundaries to observe when it comes to handling these reptiles. They are, after all, still animals, and they can attack without hesitation.

A video of a man who tried to play with a snake is now making rounds on social media for all the wrong reasons. It went from bad to worse (or funny) for the man when the seemingly agitated snake retaliated and bit him on the head.

The video started with the snake obviously not in the mood to play. Still, the man continued to provoke the reptile, probably because he was recording and was trying to make an impression. He blew directly in front of the snake's gaping mouth several times before he raised the animal in an attempt to rest it on his head.

In the representational image, a python lays on the bed at Bali Heritage Reflexology and Spa rooms in Jakarta, Indonesia, Oct. 27, 2013. Ulet Ifansasti/Getty Images

At this point, the snake seemed to relax a bit. But when it touched the man's head, it suddenly struck and bit the man right on the tip of his forehead. It was lightning fast and the bite somewhat dug deep on his skin and scalp.

The man struggled to remove the snake off his head but his efforts were futile. By the time the video was finished, it was clear that the snake was still latched on him.

Reptile Hunter posted the 45-second video on their Facebook page five days ago. Since then, it has garnered more than 3,000 interactions, 1,300 comments and was shared close to 5,000 times.

While others might find it funny to see a video like this on their news feed, some of those who commented on the post were quite stern. It even came to a point that a handful said that the man deserved to be bit.

“Serves him right, he should be treating them with respect. I hope it hurt and he learnt a lesson,” said one comment. Another also sided with the reptile and said that the man “deserved every bit” of what had happened.

Fortunately for the man, the snake was not poisonous. It was clearly a constrictor and most probably a local python that the man caught. It can still pack a mean bite, though; constrictors have small, hooked teeth that they use to latch on their prey, especially when it's struggling as they swallow them whole.

The man can also consider himself lucky that the snake didn't wrap itself around its neck. Constrictors kill their prey by squeezing it to death. It would've been a different story if the reptile did.