diff options
author | xioren <40043405+xioren@users.noreply.github.com> | 2021-03-13 19:14:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-14 11:14:44 +0800 |
commit | 7937abab4439ef2cd317d4ef70551327f55711e1 (patch) | |
tree | bde35c5ca1a79524417a1b3b1a456c8de0634352 /lib/pure/httpclient.nim | |
parent | 95697d00fa7e6f642c1e99b2baa4d76e468d1c77 (diff) | |
download | Nim-7937abab4439ef2cd317d4ef70551327f55711e1.tar.gz |
Clean up imports in httpclient.nim (#17367)
* Clean up imports Fix duplicate 'streams' import. * Update lib/pure/httpclient.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Diffstat (limited to 'lib/pure/httpclient.nim')
-rw-r--r-- | lib/pure/httpclient.nim | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim index 4f5a33ee7..14bcfd2fb 100644 --- a/lib/pure/httpclient.nim +++ b/lib/pure/httpclient.nim @@ -202,10 +202,11 @@ import std/private/since -import net, strutils, uri, parseutils, base64, os, mimetypes, streams, - math, random, httpcore, times, tables, streams, std/monotimes -import asyncnet, asyncdispatch, asyncfile -import nativesockets +import std/[ + net, strutils, uri, parseutils, base64, os, mimetypes, + math, random, httpcore, times, tables, streams, monotimes, + asyncnet, asyncdispatch, asyncfile, nativesockets, +] export httpcore except parseHeader # TODO: The `except` doesn't work |