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

Function md_http_POST_perform

modules/md/md_http.c:375–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375apr_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
388apr_status_t md_http_POSTd_perform(md_http_t *http, const char *url,
389 struct apr_table_t *headers, const char *content_type,

Callers

nothing calls this directly

Calls 3

md_http_POST_createFunction · 0.85
md_http_performFunction · 0.85

Tested by

no test coverage detected