-
Notifications
You must be signed in to change notification settings - Fork 123
Double quoted cookie values are supported now. #460
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
Conversation
Motivation: In according to RFC 6265 a cookie value may be placed between double quotes. Modifications: HTTPClient.Cookie ignores now the double quotes at the beginning and the ending of a cookie value. New unit test is added to check it. Result: Quoted cookie values are parsed properly now.
Can one of the admins verify this patch? |
6 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One mild stylistic note, but otherwise this looks really good, thanks for the patch!
@swift-nio-bot test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@swift-server-bot test this please |
To meet our coding style can you apply the diff from the |
Sure. Fixed it. |
@swift-server-bot test this please |
Motivation:
In according to RFC 6265 a cookie value may be placed between double quotes.
Modifications:
HTTPClient.Cookie ignores now the double quotes at the begining and the ending of a cookie value.
New unit test is added to check it.
Result:
Quoted cookie values are parsed properly now.