-
Hi, I wonder why not let the user pass the "headers" param to TestClient.init() function and merge with the default value that is given in super.init() ? something like:
(line changes marked with >> <<) This feature can be helpful for instance if someone wants to set the authentication headers for a test authenticated client. Any thoughts here? |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Nov 28, 2022
Replies: 1 comment 3 replies
-
Since |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
roy-pstr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since
cookies
were introduced, maybe we can also includeheaders
.