My REST client emits this to console.log out of the box, and it's been really useful https://github.com/badgateway/ketting

It's nice when tooling builds this sort of stuff in, because it also encourages APIs to implement it.