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
The case statement in the parse function of the Cookie class does not expect the "SameSite" attribute of a cookie. Servers will send this attribute, which causes unnecessary output.
I believe that this can be temporarily fixed by adding an empty when clause before the else clause:
...
when 'samesite'
else
...
A proper fix should probably add an attr_accessor :samesite and other code to manage the potential values for the "SameSite" attribute.
The text was updated successfully, but these errors were encountered:
httpclient/lib/httpclient/webagent-cookie.rb
Line 187 in 27fbb07
The case statement in the parse function of the Cookie class does not expect the "SameSite" attribute of a cookie. Servers will send this attribute, which causes unnecessary output.
I believe that this can be temporarily fixed by adding an empty
when
clause before theelse
clause:A proper fix should probably add an
attr_accessor :samesite
and other code to manage the potential values for the "SameSite" attribute.The text was updated successfully, but these errors were encountered: