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 comment is referring to the behavior of get. It would be a confusing behavior if setting a value actually appends it. If you want to set multi-value fields, subscript(values:) is the correct method to use.
According the docs setting multiple fields for the same header should append each field in a comma-separated list (unless it's a cookie). However
Only shows the last set date:
Should it not show both dates? If you use
headers[values: .date] = [...]
it works as expected:The text was updated successfully, but these errors were encountered: