Add ability to create a non-secure delete-cookie.
Also re-use existing cookie properties where possible if deleting a cookie that is already known in the response headers. Sanity-check and correct deletion cookie's secure_prefix and host_prefix based on the value of secure bool.
Add tests for these three things. (they were failing before the fix, passing after the fix).
Fixes #2972
Add ability to create a non-secure delete-cookie. Also re-use existing cookie properties where possible if deleting a cookie that is already known in the response headers. Sanity-check and correct deletion cookie's
secure_prefix
andhost_prefix
based on the value ofsecure
bool.Add tests for these three things. (they were failing before the fix, passing after the fix). Fixes #2972