Looser accept-encoding in header check.
Merge pull request #651 from jcushman/dev-headers

Looser accept-encoding in header check.