| 608 | } |
| 609 | |
| 610 | acl_int64 http_client::body_length(void) const |
| 611 | { |
| 612 | if (is_request_) { |
| 613 | if (hdr_res_) { |
| 614 | return hdr_res_->hdr.content_length; |
| 615 | } |
| 616 | } else if (hdr_req_) { |
| 617 | return hdr_req_->hdr.content_length; |
| 618 | } |
| 619 | return -1; |
| 620 | } |
| 621 | |
| 622 | bool http_client::request_range(acl_int64& range_from, acl_int64& range_to) |
| 623 | { |
no outgoing calls
no test coverage detected