Populates the request headers dictionary.
It is called before a request is started, or by a HEAD request that needs to borrow them.