replace some runtime repr in stdlib for gc:arc (#12716)
This commit is contained in:
parent
8debf79837
commit
bd8f49cbd3
3 changed files with 5 additions and 4 deletions
|
|
@ -747,7 +747,7 @@ proc parseResponse(client: HttpClient | AsyncHttpClient,
|
|||
# Parse HTTP version info and status code.
|
||||
var le = skipIgnoreCase(line, "HTTP/", linei)
|
||||
if le <= 0:
|
||||
httpError("invalid http version, " & line.repr)
|
||||
httpError("invalid http version, `" & line & "`")
|
||||
inc(linei, le)
|
||||
le = skipIgnoreCase(line, "1.1", linei)
|
||||
if le > 0: result.version = "1.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue