set protocol and more info about response