Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Cookie class to be more generic in attribute parsing and emit. #521

Merged
merged 3 commits into from May 29, 2020

Commits on May 26, 2020

  1. Updates Cookie class to be a more generic in attribute parsing and emit.

    This is so the library can age better as new attributes are added to RFC
    revisions.
    John J. Aylward committed May 26, 2020
    Copy the full SHA
    b4a75c7 View commit details
    Browse the repository at this point in the history
  2. Made more corrections to Cookie.ToString.

    1. Made Cookie Name and Value properties case insensitive
    2. Throws exception on illegal Cookie Name
    3. Doesn't emit "false" flag values
    4. Properly escape key-value attributes.
    John J. Aylward committed May 26, 2020
    Copy the full SHA
    d334b58 View commit details
    Browse the repository at this point in the history
  3. ensure key names are consistent when parsing the cookie string since

    cookie-keys are not case sensitive, but json-keys are.
    John J. Aylward committed May 26, 2020
    Copy the full SHA
    6029dec View commit details
    Browse the repository at this point in the history