amphp / http

HTTP primitives which can be shared by servers and clients.
https://amphp.org/http
MIT License
88 stars 10 forks source link

Preserve unknown cookie attributes #2

Closed kelunik closed 5 years ago

kelunik commented 6 years ago

They shouldn't be exposed as "unknown" attributes, because consuming code will break as soon as support is added, but they should be preserved, so code like this works, even if there are unrecognized attributes.