net.http: fix a typo, affecting -d trace_http_response

This commit is contained in:
Delyan Angelov 2024-08-02 00:01:14 +03:00
parent a4b8768146
commit faea2d97bf
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -57,7 +57,7 @@ fn (req &Request) do_request(req_headers string, mut ssl_conn ssl.SSLConn) !Resp
$if trace_http_response ? {
eprint('< ')
eprint(response_text)
eprinln('')
eprintln('')
}
if req.on_finish != unsafe { nil } {
req.on_finish(req, u64(response_text.len))!