Skip to content

net/http: SetCookie 'Max-Age' field can not be empty #15742

@yandd

Description

@yandd

I need to set a cookie which expired after closing browser.
Chrome browser just work well when 'Max-Age' field is empty.
So I think "http.SetCookie" function must support 'Max-Age' field to keep empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions