Merge pull request #1852 from def-/fix-uri
Remove debug messages. Bad def-.
This commit is contained in:
commit
0699928b48
1 changed files with 0 additions and 2 deletions
|
|
@ -294,11 +294,9 @@ proc request*(url: string, httpMethod = httpGET, extraHeaders = "",
|
||||||
var r = if proxy == nil: parseUri(url) else: proxy.url
|
var r = if proxy == nil: parseUri(url) else: proxy.url
|
||||||
var headers = substr($httpMethod, len("http"))
|
var headers = substr($httpMethod, len("http"))
|
||||||
if proxy == nil:
|
if proxy == nil:
|
||||||
echo url
|
|
||||||
headers.add(" " & r.path)
|
headers.add(" " & r.path)
|
||||||
if r.query.len > 0:
|
if r.query.len > 0:
|
||||||
headers.add("?" & r.query)
|
headers.add("?" & r.query)
|
||||||
echo headers
|
|
||||||
else:
|
else:
|
||||||
headers.add(" " & url)
|
headers.add(" " & url)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue