()
| 941 | |
| 942 | |
| 943 | def test_urlfication(): |
| 944 | resp = wrappers.Response() |
| 945 | resp.headers["Location"] = "http://üser:pässword@☃.net/påth" |
| 946 | resp.headers["Content-Location"] = "http://☃.net/" |
| 947 | headers = resp.get_wsgi_headers(create_environ()) |
| 948 | assert headers["location"] == "http://%C3%BCser:p%C3%A4ssword@xn--n3h.net/p%C3%A5th" |
| 949 | assert headers["content-location"] == "http://xn--n3h.net/" |
| 950 | |
| 951 | |
| 952 | def test_new_response_iterator_behavior(): |
nothing calls this directly
no test coverage detected