Lines Matching defs:response
9 #include "http-response-parser.h"
165 "Invalid HTTP version in response: %s",
176 ("Expected ' ' after response version, but found %s",
188 _parser->error = "Invalid HTTP status code in response";
198 ("Expected ' ' after response status code, but found %s",
226 ("Expected line end after response, but found %s",
288 seconds to delay after the response is received.
316 struct http_response *response, const char **error_r)
322 i_zero(response);
324 /* make sure we finished streaming payload from previous response
354 A server MUST NOT send a Content-Length header field in any response
360 "Unexpected Content-Length header field for %u response "
368 1. Any response to a HEAD request and any response with a 1xx
393 sent with a 503 (Service Unavailable) response, Retry-After indicates
395 When sent with any 3xx (Redirection) response, Retry-After indicates
410 response->status = parser->response_status;
411 response->reason = parser->response_reason;
412 response->version_major = parser->parser.msg.version_major;
413 response->version_minor = parser->parser.msg.version_minor;
414 response->location = parser->parser.msg.location;
415 response->date = parser->parser.msg.date;
416 response->retry_after = retry_after;
417 response->payload = parser->parser.payload;
418 response->header = parser->parser.msg.header;
419 response->connection_options = parser->parser.msg.connection_options;
420 response->connection_close = parser->parser.msg.connection_close;