Case :Header properly and prevent exception on empty response