returning HTTP header code for all requests