Skip to content

Unable to set a cookie.  #316

@zendevil

Description

@zendevil

I have a "some-id" cookie already set in the browser. To unset it, I go to a resource whose handle-ok looks like the following:

:handle-ok (fn [ctx]
               (ring.util.response/set-cookie
                {:status 200}
                "some-id"
                nil
                {:path "/" :max-age 1}))

This does return a status 200 with the cookie unset in the browser text, but in the browser resources section, the cookie is not unset. Why is this the case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions