Remove debug echo introduced in #3896.
This commit is contained in:
parent
17bbc07678
commit
3762a47cc4
1 changed files with 0 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue