| 373 | } |
| 374 | |
| 375 | apr_status_t md_http_POST_perform(struct md_http_t *http, const char *url, |
| 376 | struct apr_table_t *headers, const char *content_type, |
| 377 | apr_bucket_brigade *body, int detect_len, |
| 378 | md_http_response_cb *cb, void *baton) |
| 379 | { |
| 380 | md_http_request_t *req; |
| 381 | apr_status_t rv; |
| 382 | |
| 383 | rv = md_http_POST_create(&req, http, url, headers, content_type, body, detect_len); |
| 384 | if (APR_SUCCESS == rv) md_http_set_on_response_cb(req, cb, baton); |
| 385 | return (APR_SUCCESS == rv)? md_http_perform(req) : rv; |
| 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, |
nothing calls this directly
no test coverage detected