update libcurl transport and fix header rewriting issue

This commit is contained in:
Percs 2024-07-19 16:42:30 -05:00
parent 9305bf7ce3
commit fa1431840a
3 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,7 @@ async function handleResponse(
case "iframe":
case "document":
if (
responseHeaders["content-type"]?.toString()?.startsWith("text/html")
responseHeaders["content-type"]?.startsWith("text/html")
) {
responseBody = rewriteHtml(await response.text(), url);
} else {