about summary refs log tree commit diff stats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-07-30 18:28:19 +0200
committerbptato <nincsnevem662@gmail.com>2022-07-30 18:28:19 +0200
commited7afdbfd3686babaa81b4a9f169ba5d60178200 (patch)
tree7e02faeca3764ae2ae02a70b417eb44b21ca14c6 /src/types
parentb2bf6774fbf3cc924aa7abd182366fe9c5d65279 (diff)
downloadchawan-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.nim4
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