diff options
Diffstat (limited to 'src/ips/serialize.nim')
-rw-r--r-- | src/ips/serialize.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ips/serialize.nim b/src/ips/serialize.nim index b8ffab0a..0636e2e9 100644 --- a/src/ips/serialize.nim +++ b/src/ips/serialize.nim @@ -325,6 +325,7 @@ proc swrite*(stream: Stream, source: BufferSource) = of LOAD_PIPE: stream.swrite(source.fd) stream.swrite(source.location) stream.swrite(source.contenttype) + stream.swrite(source.charset) proc sread*(stream: Stream, source: var BufferSource) = var t: BufferSourceType @@ -341,6 +342,7 @@ proc sread*(stream: Stream, source: var BufferSource) = stream.sread(source.fd) stream.sread(source.location) stream.sread(source.contenttype) + stream.sread(source.charset) func slen*(source: BufferSource): int = result += slen(source.t) |