Obtain headers of response as well in case API consumer needs it.

Change-Id: Ia7c24cb91bb8be9847a70d18e0463f604cc08baf