Closed krichprollsch closed 2 months ago
$ zig build get -- https://tls-v1-2.badssl.com:1012/ --dump
debug(browser): starting GET https://tls-v1-2.badssl.com:1012/
info(browser): GET https://tls-v1-2.badssl.com:1012/ http.Status.ok
debug(browser): header content-type: text/html
debug(browser): parse html with charset utf-8
debug(browser): start js env
debug(browser): setup global env
debug(browser): wait: OK
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/icons/favicon-green.ico">
<link rel="apple-touch-icon" href="/icons/icon-green.png">
<title>tls-v1-2.badssl.com</title>
<link rel="stylesheet" href="/style.css">
<style>body { background: green; }</style>
</head>
<body>
<div id="content">
<h1 style="font-size: 12vw;">
tls-v1-2.<br>badssl.com
</h1>
</div>
</body></html>
see https://github.com/ziglang/zig/compare/master...ianic:zig:tls23 for integration in std.http.Client
The PR needs zig 0.13 to work
fix #259 depends on #260