(self)
| 551 | assert cookies["foo"] == "\N{SNOWMAN}" |
| 552 | |
| 553 | def test_cookie_unicode_keys(self): |
| 554 | # Yes, this is technically against the spec but happens |
| 555 | val = http.dump_cookie("fö", "fö") |
| 556 | assert val == _wsgi_encoding_dance('fö="f\\303\\266"; Path=/') |
| 557 | cookies = http.parse_cookie(val) |
| 558 | assert cookies["fö"] == "fö" |
| 559 | |
| 560 | def test_cookie_unicode_parsing(self): |
| 561 | # This is submitted by Firefox if you set a Unicode cookie. |
nothing calls this directly
no test coverage detected