Permit th  attribute
Merge pull request #2553 from mhuggins/headers-attribute

Permit th `headers` attribute