| 1222 | } |
| 1223 | |
| 1224 | HTTP_HDR_REQ* http_client::get_request_head(string* buf) |
| 1225 | { |
| 1226 | if (hdr_req_ == NULL) { |
| 1227 | return NULL; |
| 1228 | } |
| 1229 | if (buf) { |
| 1230 | ACL_VSTRING* vbf = buf->vstring(); |
| 1231 | http_hdr_build(&hdr_req_->hdr, vbf); |
| 1232 | } |
| 1233 | return hdr_req_; |
| 1234 | } |
| 1235 | |
| 1236 | void http_client::print_header(const char* prompt /* = NULL */) |
| 1237 | { |
no test coverage detected