Set header of response if callback isn't being used.