Dredd: Charset header comparisons should be case insensitive.

Created on 31 Oct 2014  路  4Comments  路  Source: apiaryio/dredd

I have a test on the correct charset being returned, but the test fails because the comparison is case sensitive (so 'UTF-8' is not equal to 'utf-8').

bug easy to fix

Most helpful comment

Transitively it is a Dredd issue as Dredd's behavior isn't correct, but I think it needs to be fixed in Gavel. (Also ideally, this would be a monorepo where Gavel lives as well since those two projects are very close to each other.)

All 4 comments

According to the #1086 this is not a Dredd's issue. Should this still be open?

Transitively it is a Dredd issue as Dredd's behavior isn't correct, but I think it needs to be fixed in Gavel. (Also ideally, this would be a monorepo where Gavel lives as well since those two projects are very close to each other.)

This has been fixed in recent versions of Gavel and propagated to Dredd.

Was this page helpful?
0 / 5 - 0 ratings