Skip to content

How can I avoid cookies persisting on a single resty Client? #456

Closed Answered by jeevatkm
jj0e asked this question in Q&A
Discussion options

You must be logged in to vote

@jj0e Typically, when you use resty.New() to create a resty client, it initializes with cookie jar. I think for your use case, create your HTTP client instance and then use resty.NewWithClient(...)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jeevatkm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #450 on September 13, 2021 04:37.