MCPcopy Create free account
hub / github.com/apache/httpd / md_http_POSTd_perform

Function md_http_POSTd_perform

modules/md/md_http.c:388–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388apr_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}

Callers 1

md_acme_req_sendFunction · 0.85

Calls 3

md_http_POSTd_createFunction · 0.85
md_http_performFunction · 0.85

Tested by

no test coverage detected