Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

did not get response header cookie Secure? #51

Open
ygm521 opened this issue Aug 30, 2022 · 0 comments
Open

did not get response header cookie Secure? #51

ygm521 opened this issue Aug 30, 2022 · 0 comments

Comments

@ygm521
Copy link

ygm521 commented Aug 30, 2022

  • did not get Secure?
"Set-Cookie: X_SADG_RouterID=test"
"Set-Cookie: tag=sign-8080; path=/; Secure"
  • demo
    local fields, err = cookie:get_all()
    if not fields then
        ngx.log(ngx.ERR, err)
        return
    end

    for k, v in pairs(fields) do
        ngx.log(ngx.ERR, "=============" .. k .. " => ", v)
    end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant