mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
update libcurl transport and fix header rewriting issue
This commit is contained in:
parent
9305bf7ce3
commit
fa1431840a
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue