I have a solution that passes the tests but shouldn't.
The obvious split creates a dictionary with a key ' ffo' instead of 'ffo'.
I can get all tests to pass if I use cookie = cookie.replace(' ', '').
But a legal cookie like 'Expires=Wed, 09 Jun 2021 10:18:14 GMT' then gets squished to 'Expires=Wed,09Jun202110:18:14GMT' which is not correct.
Suggest you include a test case with whitespace in the return value.
Created at: 2017/03/19 06:08; Updated at: 2017/03/19 06:08