We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a740c commit f8d20d3Copy full SHA for f8d20d3
1 file changed
.github/workflows/test-examples.yml
@@ -712,7 +712,8 @@ jobs:
712
Stop-Process -Id $proc.Id -Force -ErrorAction SilentlyContinue
713
exit 1
714
}
715
- $resp = (Invoke-WebRequest -Uri "http://127.0.0.1:${httpPort}" -UseBasicParsing -TimeoutSec 10).Content
+ $raw = (Invoke-WebRequest -Uri "http://127.0.0.1:${httpPort}" -UseBasicParsing -TimeoutSec 10).Content
716
+ if ($raw -is [byte[]]) { $resp = [System.Text.Encoding]::UTF8.GetString($raw) } else { $resp = $raw }
717
718
Write-Host "=== HTTP response ==="
719
Write-Host $resp
0 commit comments