feat: handle cookies

This commit is contained in:
Kevin Franklin Kim 2024-03-08 14:41:55 +01:00
parent 18754b0f1a
commit 1c4f38e552
No known key found for this signature in database

View File

@ -96,7 +96,7 @@ func (p *Publisher) Publish(topic string, messages ...*message.Message) error {
val := strings.Split(s3, "=") val := strings.Split(s3, "=")
req.AddCookie(&http.Cookie{ req.AddCookie(&http.Cookie{
Name: val[0], Name: val[0],
Value: val[1], Value: strings.Join(val[1:], "="),
}) })
} }
} else { } else {