Open notzippy opened 5 years ago
Writing some testcases for my app right now and I'm up against this wall. Any easy workarounds for this? I've tried using PostFormCustom and adding a referer header manually, but I'm getting unsupported protocol scheme ""
on my .Send()
call. Probably something obvious that I'm missing, but it's late.
In order to do form posting you must pass the csrf value back to the server. This request is to create a helper test case to perform this. Simply extending the existing testcases and adding a CSRForm post method should suffice.
See #83