mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 11:42:33 +00:00
Remove debug echo introduced in #3896.
This commit is contained in:
@@ -532,7 +532,6 @@ proc post*(url: string, extraHeaders = "", body = "",
|
||||
var lastURL = url
|
||||
for i in 1..maxRedirects:
|
||||
if result.status.redirection():
|
||||
echo "lastURL: ", lastURL
|
||||
let redirectTo = getNewLocation(lastURL, result.headers)
|
||||
var meth = if result.status != "307": httpGet else: httpPost
|
||||
result = request(redirectTo, meth, xh, xb, sslContext, timeout,
|
||||
|
||||
Reference in New Issue
Block a user