hspec / hspec-wai

Helpers to test WAI applications with Hspec
MIT License
64 stars 25 forks source link

match Content-Type values case-insensitive #28

Closed MaxDaten closed 9 years ago

MaxDaten commented 9 years ago

header fields for Content-Type are case-insensitive for example: application/JSON equals application/json

MaxDaten commented 9 years ago

not sure why cabal install scotty fails @ https://travis-ci.org/hspec/hspec-wai/builds/65715104#L615 maybe the new case-insensitive dependency?

sol commented 9 years ago

On Hackage as hspec-wai-json-0.6.1. Thanks a lot!

MaxDaten commented 9 years ago

thanks you for the lib.