Skip to content
Snippets Groups Projects

Resolve "use multi curl to improve performance"

Merged Ghost User requested to merge 19-use-multi-curl-to-improve-performance into master
Files
2
@@ -205,6 +205,7 @@ class ProxyController extends Controller
# It's an html document
$htmlDocument = new HtmlDocument($password, $targetUrl, $result["data"], $contentEncoding);
$htmlDocument->proxifyContent();
$result['header']['content-type'] = $contentType . "; charset=" . $htmlDocument->getEncoding();
$result["data"] = $htmlDocument->getResult();
break;
case 'application/pdf':
Loading