Set the HTTP header correctly