aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/world/net/http/header.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/world/net/http/header.lux')
-rw-r--r--stdlib/source/library/lux/world/net/http/header.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/world/net/http/header.lux b/stdlib/source/library/lux/world/net/http/header.lux
index 1d84b3318..6f8d92cc2 100644
--- a/stdlib/source/library/lux/world/net/http/header.lux
+++ b/stdlib/source/library/lux/world/net/http/header.lux
@@ -12,7 +12,7 @@
["." mime (#+ MIME)]
[// (#+ URL)]])
-(def: #export (add name value)
+(def: .public (add name value)
(-> Text Text Header)
(dictionary.upsert name ""
(|>> (case>
@@ -22,14 +22,14 @@
previous
(format previous "," value)))))
-(def: #export content_length
+(def: .public content_length
(-> Nat Header)
(|>> %.nat (..add "Content-Length")))
-(def: #export content_type
+(def: .public content_type
(-> MIME Header)
(|>> mime.name (..add "Content-Type")))
-(def: #export location
+(def: .public location
(-> URL Header)
(..add "Location"))