| 1234 | } |
| 1235 | |
| 1236 | void http_client::print_header(const char* prompt /* = NULL */) |
| 1237 | { |
| 1238 | if (hdr_res_) { |
| 1239 | http_hdr_print(&hdr_res_->hdr, prompt); |
| 1240 | } else if (hdr_req_) { |
| 1241 | http_hdr_print(&hdr_req_->hdr, prompt); |
| 1242 | } |
| 1243 | } |
| 1244 | |
| 1245 | void http_client::fprint_header(ostream& out, const char* prompt /* = NULL */) |
| 1246 | { |
no test coverage detected