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:
parent
0134a51a7c
commit
6075bd4231
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue