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
Note that the test code in RemoveHopByHopHeadersFilterTests.removesHeadersListedInConnectionHeader passes because the chosen values of upgrade and keep-alive are listed explicitly in RemoveHopByHopFilter and not because they are in the Connection header value - this is fine since those two headers need to be removed anyway per the specs (whether they are listed in connection header or not).
The text was updated successfully, but these errors were encountered:
RemoveHopByHopFilter
removes the connection header, but doesn't remove the listed headers in it (as it should per e.g. https://www.rfc-editor.org/rfc/rfc9110.html#name-connection or https://datatracker.ietf.org/doc/html/rfc2616#section-14.10). For example, if the header wasConnection: xyz
then thexyz
header would need to be removed as well.Note that the test code in
RemoveHopByHopHeadersFilterTests.removesHeadersListedInConnectionHeader
passes because the chosen values ofupgrade
andkeep-alive
are listed explicitly inRemoveHopByHopFilter
and not because they are in theConnection
header value - this is fine since those two headers need to be removed anyway per the specs (whether they are listed in connection header or not).The text was updated successfully, but these errors were encountered: