TestMultipleRangeWithoutContentLengthServer
Bug #658773 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
In test_http, TestMultipleRan
tags: | added: check-for-breezy |
To post a comment you must log in.
There are multiple layers involved when it comes to decide how readv() requests are mapped to http range requests.
In this precise case, the server code that is expected to execute is just never reached by the corresponding tests because the readv requests are turned into encompassing single range requests.
There is a basic flaw in the http tests design: they insist of testing public transport methods leading to tests that are almost blackbox ones and this an example of why it's a bad design.
For these specific tests I suggest to go deeper in the API calls to be just above the http multi range requests building.