Lines Matching defs:rtext
563 string_t *rtext = t_str_new(256);
571 str_append(rtext, "HTTP/1.1 ");
572 str_printfa(rtext, "%u", resp->status);
573 str_append(rtext, " ");
574 str_append(rtext, resp->reason);
579 str_append(rtext, "\r\nDate: ");
580 str_append(rtext, http_date_create(resp->date));
581 str_append(rtext, "\r\n");
584 str_append(rtext, "WWW-Authenticate: ");
585 http_auth_create_challenges(rtext, &resp->auth_challenges);
586 str_append(rtext, "\r\n");
602 str_append(rtext, "Transfer-Encoding: chunked\r\n");
612 str_printfa(rtext, "Content-Length: %"PRIuUOFF_T"\r\n",
643 str_append(rtext, "Content-Length: 0\r\n");
649 str_append(rtext, "Connection: close\r\n");
651 str_append(rtext, "Connection: Keep-Alive\r\n");
655 iov[0].iov_base = str_data(rtext);
656 iov[0].iov_len = str_len(rtext);