diff options
author | bptato <nincsnevem662@gmail.com> | 2023-05-16 13:17:41 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-05-16 13:18:47 +0200 |
commit | 4e0fd8c7ef2ad2f61c1ac0572e02b92b1c42b688 (patch) | |
tree | 83adafc3a2046bb8af09d7c57340dc9374eebbd6 /src/types | |
parent | 951d587f7edf3544d30ba039530a1d19b7e9db78 (diff) | |
download | chawan-4e0fd8c7ef2ad2f61c1ac0572e02b92b1c42b688.tar.gz |
Refactor config, add charset opts
Only document-charset supported for now.
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/buffersource.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types/buffersource.nim b/src/types/buffersource.nim index dbf8fbbe..109e8361 100644 --- a/src/types/buffersource.nim +++ b/src/types/buffersource.nim @@ -3,6 +3,7 @@ import options when defined(posix): import posix +import data/charset import io/request import types/url @@ -13,6 +14,7 @@ type BufferSource* = object location*: URL contenttype*: Option[string] # override + charset*: Option[Charset] # override case t*: BufferSourceType of CLONE: clonepid*: Pid |