Lines Matching refs:response
30 serf_bucket_t *response,
96 /* Reads and discards all bytes in the response body. */
97 static apr_status_t discard_body(serf_bucket_t *response)
104 status = serf_bucket_read(response, SERF_READ_ALL_AVAIL, &data, &len);
115 * handle_auth_header is called for each header in the response. It filters
125 serf_bucket_t *response,
188 status = handler(code, request, response,
250 serf_bucket_t *response,
269 hdrs = serf_bucket_response_get_headers(response);
285 and handle each header in the response, looking for one that we can
295 request, response, pool);
301 /* Read the headers of the response and try the available
305 serf_bucket_t *response,
314 /* TODO: the response bucket was created by the application, not at all
316 status = serf_bucket_response_status(response, &sl);
325 status = serf_bucket_response_wait_for_headers(response);
340 /* Don't bother handling the authentication request if the response
343 status = discard_body(response);
346 /* Discard all response body before processing authentication. */
351 status = dispatch_auth(sl.code, request, response, baton, pool);
377 /* Validate the response server authn headers. */
381 resp_status = validate_resp(HOST, sl.code, conn, request, response,
385 /* Validate the response proxy authn headers. */
389 resp_status = validate_resp(PROXY, sl.code, conn, request, response,
396 status = discard_body(response);