-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Labels
Description
Http treats headers as case-insensitive. Node normalizes headers to lowercase to make them easy to work with. I'd expect the assertion interface to be as liberal as the http spec, so I could test
expect(response).to.have.header('Cache-Control', 'no-cache')
Would you take a PR to lowercase header names before retrieving them from node?