diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/world/net/http/client.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/world/net/http/client.lux b/stdlib/source/library/lux/world/net/http/client.lux index 6b2d9eb99..167d87c88 100644 --- a/stdlib/source/library/lux/world/net/http/client.lux +++ b/stdlib/source/library/lux/world/net/http/client.lux @@ -37,10 +37,10 @@ (! (Try (//.Response !)))) request)) -(syntax: (method_name {[_ name] <code>.tag}) +(syntax: (method_name [[_ name] <code>.tag]) (in (list (code.text (text.upper_cased name))))) -(syntax: (method_function {[_ name] <code>.tag}) +(syntax: (method_function [[_ name] <code>.tag]) (in (list (code.local_identifier (text.lower_cased name))))) (template [<method>] @@ -183,7 +183,7 @@ (do ! [?value (java/net/URLConnection::getHeaderField index connection)] (recur (inc index) - (dictionary.put name (maybe.else "" ?value) headers))) + (dictionary.has name (maybe.else "" ?value) headers))) #.None (in headers))))) |