You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #95 it became apparent that not all headers implement implement operator== and hashCode correctly.
All header values are designed to be immutable value types, which (at least to me) also implies that you should be able to compare two different instances x, y (!identical(x, y)) but logically equal instances for deep equality.
Many header classes already implement this correctly, but not all. We need to add tests to expose this, and fix any header classes not compliant.
To reproduce
VaryHeader.wildcard() !=VaryHeader.wildcard();
is just one example
Expected behavior
Logically equal headers should be equal as per operator== and hashCode.
Activity
[-]bug: Headers should support deep equality[/-][+]Headers should support deep equality[/+]