Added logging of the request header.