diff options
author | bptato <nincsnevem662@gmail.com> | 2022-07-30 18:28:19 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-07-30 18:28:19 +0200 |
commit | ed7afdbfd3686babaa81b4a9f169ba5d60178200 (patch) | |
tree | 7e02faeca3764ae2ae02a70b417eb44b21ca14c6 /src/types | |
parent | b2bf6774fbf3cc924aa7abd182366fe9c5d65279 (diff) | |
download | chawan-ed7afdbfd3686babaa81b4a9f169ba5d60178200.tar.gz |
Implement HTTP Auth
Also use our own redirection implementation instead of curl follow redirects.
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/url.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/url.nim b/src/types/url.nim index afe7d83a..7f41025b 100644 --- a/src/types/url.nim +++ b/src/types/url.nim @@ -37,8 +37,8 @@ type Url* = object encoding: int #TODO scheme*: string - username: string - password: string + username*: string + password*: string port: Option[uint16] host: Option[Host] path*: UrlPath |