| 386 | } |
| 387 | |
| 388 | apr_status_t md_http_POSTd_perform(md_http_t *http, const char *url, |
| 389 | struct apr_table_t *headers, const char *content_type, |
| 390 | const md_data_t *body, |
| 391 | md_http_response_cb *cb, void *baton) |
| 392 | { |
| 393 | md_http_request_t *req; |
| 394 | apr_status_t rv; |
| 395 | |
| 396 | rv = md_http_POSTd_create(&req, http, url, headers, content_type, body); |
| 397 | if (APR_SUCCESS == rv) md_http_set_on_response_cb(req, cb, baton); |
| 398 | return (APR_SUCCESS == rv)? md_http_perform(req) : rv; |
| 399 | } |
no test coverage detected