| 48 | { |
| 49 | |
| 50 | arbiter::http::Headers getRangeHeader(int start, int end = 0) |
| 51 | { |
| 52 | arbiter::http::Headers h; |
| 53 | h["Range"] = "bytes=" + std::to_string(start) + "-" + |
| 54 | (end ? std::to_string(end - 1) : ""); |
| 55 | return h; |
| 56 | } |
| 57 | |
| 58 | } // namespace |
| 59 |
no outgoing calls
no test coverage detected