Remove second path of getting response headers