Skip to content

Cookie bug. #19

Description

@Levvente

Cookie headers in HttpResponse are deficient because you are using the public overrode ToString() method of System.Net.Cookie and (at least in the mono implementation) that does not append some important parameters of the cookie to the output string, such as the expire date, so it wont be present in the set-cookie header.
I think in the mono implementation of the HttpListener they are using the internal ToServerString() method for generating the header value from the cookie, not the trivial public ToString() method. See here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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