diff options
Diffstat (limited to 'stdlib/source/lux/world/net/http/header.lux')
-rw-r--r-- | stdlib/source/lux/world/net/http/header.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/world/net/http/header.lux b/stdlib/source/lux/world/net/http/header.lux index 3a96b37fa..4cd1daa67 100644 --- a/stdlib/source/lux/world/net/http/header.lux +++ b/stdlib/source/lux/world/net/http/header.lux @@ -4,7 +4,7 @@ [pipe (#+ case>)]] [data [text - format] + ["%" format (#+ format)]] [collection ["." dictionary (#+ Dictionary)]]]] [// (#+ Header) @@ -23,7 +23,7 @@ (def: #export content-length (-> Nat Header) - (|>> %n (..add "Content-Length"))) + (|>> %.nat (..add "Content-Length"))) (def: #export content-type (-> MIME Header) |