Commit 8303e6fc authored by Rob Buis's avatar Rob Buis Committed by Commit Bot

Signed Exchange: Fix error message

Fix error message by making it a proper sentence.

Bug: 803774
Change-Id: I30feb2f5b9aa92653793db92556aaf29371673ec
Reviewed-on: https://chromium-review.googlesource.com/c/1350962Reviewed-by: default avatarKunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Rob Buis <rbuis@igalia.com>
Cr-Commit-Position: refs/heads/master@{#611049}
parent 795d3287
...@@ -95,8 +95,9 @@ bool ParseRequestMap(const cbor::Value& value, ...@@ -95,8 +95,9 @@ bool ParseRequestMap(const cbor::Value& value,
// - headers[0][`:method`] is not `GET`. [spec text] // - headers[0][`:method`] is not `GET`. [spec text]
if (method_str != "GET") { if (method_str != "GET") {
signed_exchange_utils::ReportErrorAndTraceEvent( signed_exchange_utils::ReportErrorAndTraceEvent(
devtools_proxy, base::StringPrintf("Request method must be GET, but %s", devtools_proxy,
method_str.as_string().c_str())); base::StringPrintf("Request method must be GET, but is %s",
method_str.as_string().c_str()));
return false; return false;
} }
out->set_request_method(method_str); out->set_request_method(method_str);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment