()
| 676 | |
| 677 | |
| 678 | def test_invalid_range_request(): |
| 679 | env = create_environ() |
| 680 | response = wrappers.Response("Hello World") |
| 681 | env["HTTP_RANGE"] = "bytes=-" |
| 682 | with pytest.raises(RequestedRangeNotSatisfiable): |
| 683 | response.make_conditional(env, accept_ranges=True, complete_length=11) |
| 684 | |
| 685 | |
| 686 | def test_etag_response_freezing(): |
nothing calls this directly
no test coverage detected