Stdlib: httpclient: export strtabs added.

When using `httpclient`, viewing HTTP headers is impossible without importing `strtabs`, which is very much _not_ obvious; it's impossible to know without deep diving into the docs.

Dealing with headers is an essential part of working with HTTP in general, so I propose this change. The situation is analogous to this one with `nre` and `options`: https://github.com/nim-lang/Nim/issues/4158
This commit is contained in:
Konstantin Molchanov
2016-05-28 10:25:36 +04:00
parent 0134a51a7c
commit 6075bd4231

View File

@@ -83,6 +83,8 @@ import net, strutils, uri, parseutils, strtabs, base64, os, mimetypes, math
import asyncnet, asyncdispatch
import nativesockets
export strtabs
type
Response* = tuple[
version: string,