primp
primp copied to clipboard
Some improvements
get_cookiesandset_cookiesuse domain instead of url to get cookies- Add argument
follow_redirectsfor request function - The
headersin therequestmethod should not be ignored but should be merged with the default headers.
further
- Add a
cookiesvariable toAsyncClient, pointing to the internal cookies implementation. This variable can be used to retrieve all currently stored cookies, set a specific cookie value, or get a specific cookie value. You can refer to the implementation of other networking libraries for details.
I noticed that the developer removed client.cookies in the commit history. Could you explain the reasoning behind this decision?