'Cookie strings that go against RFC6265 but browsers will send if set
via document.cookie.'

def test_invalid_cookies(self):

    self.assertIn('django_language', parse_cookie('abc=def;    unnamed;    django_language=en'))
    self.assertEqual(parse_cookie('a=b;    ";    c=d'), {'a': 'b', '': '"', 'c': 'd'})
    self.assertEqual(parse_cookie('a    b    c=d    e    =    f;    gh=i'), {'a    b    c': 'd    e    =    f', 'gh': 'i'})
    self.assertEqual(parse_cookie('a            b,c<>@:/[]?{}=d        "        =e,f    g'), {'a            b,c<>@:/[]?{}': 'd        "        =e,f    g'})
    self.assertEqual(parse_cookie('saint=Andr\xc3\xa9    Bessette'), {'saint': 'Andr\xc3\xa9    Bessette'})
    self.assertEqual(parse_cookie('        =        b        ;        ;        =        ;            c        =        ;        '), {'': 'b', 'c': ''})
