mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-30 18:41:45 +00:00
remove superfluous except: raise
This commit is contained in:
@@ -446,8 +446,6 @@ proc request*(url: string, httpMethod: string, extraHeaders = "",
|
||||
s.send(body)
|
||||
|
||||
result = parseResponse(s, httpMethod != "httpHEAD", timeout)
|
||||
except:
|
||||
raise
|
||||
finally:
|
||||
s.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user