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>
This commit is contained in:
xioren
2021-03-13 19:14:44 -08:00
committed by GitHub
parent 95697d00fa
commit 7937abab44

View File

@@ -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