Unable to clear HTTPS cookies with CookieJar

Describe the bug
When using an HTTP host I am able to clear out the existing cookies for said host using the CookieJar method of .clear(โ€˜hostโ€™). After moving to an HTTPS host, the .clear() method no longer works and the cookie persists. This method is in my Pre-request Script in both instances.

Steps to reproduce the behavior:

  1. Call HTTP web service that returns a cookie (secure = false). The cookie will be returned.
  2. Re-run the web service. The cookie will be returned with a new value.
  3. Call HTTPs web service that returns a cookie (secure = true). The cookie will be returned.
  4. Re-run the web service. The existing cookie with the old value will be returned.

Expected behavior
I am expecting a new cookie value to be returned in both instances (HTTP and HTTPS)

Screenshots
image

App information (please complete the following information):

  • App Type Native App
  • Postman Version 7.6.0
  • OS: Windows 10