Trying to fix setHeaders issue reported
Merge pull request #2 from rohiniwork/setheaders-issue-1

Trying to fix setHeaders issue reported