AddCookieParameters expiry should accept a date#29
Conversation
|
Just a few small changes that will help in implementing the commands related to cookies for servo. Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions. src/command.rs, line 773 [r1] (raw file): src/command.rs, line 779 [r1] (raw file): src/command.rs, line 787 [r1] (raw file): src/command.rs, line 896 [r1] (raw file): src/response.rs, line 100 [r1] (raw file): Comments from Reviewable |
|
Unfortunately I don't think this matches the spec. The Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions. src/command.rs, line 773 [r1] (raw file): src/command.rs, line 779 [r1] (raw file): src/command.rs, line 896 [r1] (raw file): src/response.rs, line 100 [r1] (raw file): Comments from Reviewable |
|
After looking at it again, you're right. It looks as if Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions. src/command.rs, line 773 [r1] (raw file): src/command.rs, line 779 [r1] (raw file): src/command.rs, line 896 [r1] (raw file): src/response.rs, line 100 [r1] (raw file): Comments from Reviewable |
The spec no longer lists max-age. Therefore it should be removed from the cookie response and AddCookieParameters.
|
I changed the commit to merely remove |
|
Reviewed 2 of 4 files at r3. src/command.rs, line 787 [r1] (raw file): Comments from Reviewable |
|
Thanks! |
Modify the parsing and storage of AddCookieParameters expiry field to accept a given date.
This change is