The functions are wrappers around http and https and set the x-xsrf-token header based on the value of the Xsrf-token cookie in the session file. Currently, the cookie name and header name are hard coded. I may look to specify those in an argument at some point although for now it's probably fine.
parent
92b5ac3e4c
commit
d967936fde
1 changed files with 14 additions and 0 deletions
Loading…
Reference in new issue