Contrary to what people might think India too has blasphemy laws and people are regularly jailed even for academic work on religion (mostly Islam) or even private comments that insult the prophet. [http://www.pewresearch.org/fact-tank/2016/07/29/which-countr...]
I looked up the history of India's blasphemy laws it is indeed a creation of British to outlaw criticism of Islam in India to maintain peace in their colony though now mostly used by Hindus. (Islamists simply hack people to death or put a bounty on people's head. They do not bother with courts).
http://koenraadelst.blogspot.com/2014/02/banning-wendy-donig...