| 349 | } |
| 350 | |
| 351 | apr_status_t md_http_GET_perform(struct md_http_t *http, |
| 352 | const char *url, struct apr_table_t *headers, |
| 353 | md_http_response_cb *cb, void *baton) |
| 354 | { |
| 355 | md_http_request_t *req; |
| 356 | apr_status_t rv; |
| 357 | |
| 358 | rv = md_http_GET_create(&req, http, url, headers); |
| 359 | if (APR_SUCCESS == rv) md_http_set_on_response_cb(req, cb, baton); |
| 360 | return (APR_SUCCESS == rv)? md_http_perform(req) : rv; |
| 361 | } |
| 362 | |
| 363 | apr_status_t md_http_HEAD_perform(struct md_http_t *http, |
| 364 | const char *url, struct apr_table_t *headers, |
no test coverage detected