Lines Matching refs:status_code
29 response->Reply(status_code::Ok,
38 status_code::Ok, request.GetMethod(), brillo::mime::text::kPlain);
155 EXPECT_EQ(status_code::NotFound, response->GetStatusCode());
164 EXPECT_EQ(status_code::NotFound, response->GetStatusCode());
190 response->ReplyJson(status_code::Ok, &json);
227 response->ReplyText(status_code::Ok,
255 response->ReplyText(status_code::Ok, "blah", brillo::mime::text::kPlain);
281 response->ReplyText(status_code::Ok, "", brillo::mime::text::kPlain);
311 response->ReplyText(status_code::Ok,
380 status_code::Ok,
416 int status_code = std::stoi(request.GetFormField("code"));
417 response->ReplyJson(status_code, {{"data", request.GetFormField("value")}});
441 EXPECT_EQ(status_code::NotFound, response->GetStatusCode());
446 EXPECT_EQ(status_code::NotFound, code);