Implement saveHeaders
Implementing ws