Open
Description
2 questions:
First:
In react-native, as long as the interface returns a set-cookie header, the custom cookie in headers:{cookie:'xxx'} will become invalid and will be overwritten by the last set-cookie
Solution: Turn off withCredentials for the custom cookie to take effect
withCredentials: false
Second:
When the server interface returns two set-cookie headers, the cookie obtained by rn through res.headers['set-cookie'] is separated by ", ", and the cookie format does not seem to be the correct format. In theory, it should be merged with "; "
Metadata
Metadata
Assignees
Labels
No labels