Allow override of request cache headers

cleanedup version of #150

/cc @gonzalovilaseca 
It”s okay with me.

If we could change the data structure, what would you propose?