openswoole / ext-openswoole

Programmatic server for PHP with async IO, coroutines and fibers

Home Page:https://openswoole.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Max-Age to Set-Cookie Header

opened this issue · comments

  1. What did you do? If possible, provide a simple script for reproducing the error.
Send a cookie with value and expires data: $response->cookie(...)
  1. What did you expect to see?
Max-Age argument with relative timestamp in the Set-Cookie Header
  1. What did you see instead?
Only absolute date in the Expires argument

You can also try the following OpenSwoole support channels: