Commit 6534ffa3 authored by Harris Hancock's avatar Harris Hancock

Log unknown Transfer-Encoding values in kj-http

Printf debugging at its finest.
parent 59c7e52b
......@@ -1586,7 +1586,7 @@ kj::Own<kj::AsyncInputStream> HttpInputStream::getEntityBody(
if (fastCaseCmp<'c','h','u','n','k','e','d'>(te->cStr())) {
return kj::heap<HttpChunkedEntityReader>(*this);
} else {
KJ_FAIL_REQUIRE("unknown transfer encoding") { break; }
KJ_FAIL_REQUIRE("unknown transfer encoding", *te) { break; }
}
}
......
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