use the params passed in, if any
Merge pull request #1 from lotze/master

use params given for header, if any