Lines Matching defs:resp
11 http_response_init(struct http_response *resp,
14 i_zero(resp);
15 resp->version_major = 1;
16 resp->version_minor = 1;
17 resp->date = ioloop_time;
18 resp->status = status;
19 resp->reason = reason;
22 bool http_response_has_connection_option(const struct http_response *resp,
27 if (!array_is_created(&resp->connection_options))
29 array_foreach(&resp->connection_options, opt_idx) {
36 int http_response_get_payload_size(const struct http_response *resp,
39 if (resp->payload == NULL) {
44 return i_stream_get_size(resp->payload, TRUE, size_r);