http icon indicating copy to clipboard operation
http copied to clipboard

Fix scheme case insensitive equal

Open 0x00A5 opened this issue 3 years ago • 0 comments

Fixes #46

The PartialEq implementation of Scheme missed two cases,

  1. Other to Standard
  2. Standard to Other

For example, this will make http not equal to HTTP where the former is parsed as standard but the latter is parsed as other.

This PR added a patch to fix this issue and added unit tests.

0x00A5 avatar May 09 '21 04:05 0x00A5