Skip to content

Commit

Permalink
fix http header capitalization problem
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Apr 11, 2024
1 parent df1cb6d commit 8b5e6d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion property_tests/arbitraries/http/headers_arb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ export function HttpHeadersArb() {

const HeaderArb = fc.tuple(HeaderNameArb, HeaderValueArb);

return fc.uniqueArray(HeaderArb, { selector: ([name, _]) => name });
return fc.uniqueArray(HeaderArb, {
selector: ([name, _]) => name.toLowerCase()
});
}

0 comments on commit 8b5e6d9

Please sign in to comment.