Modify Resource to support header in calling actions