summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-06-05 17:13:35 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-06-05 17:13:35 +0200
commit487bf54cdf6fbe894c0058a97289cab25ba6fcf0 (patch)
treeaf852927249b2edec5f10f583d9c99c8f7c808cf /lib/pure
parent03b64327ca13df5275c807e12e4e8c0dc84be671 (diff)
downloadNim-487bf54cdf6fbe894c0058a97289cab25ba6fcf0.tar.gz
fixes #4278
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/httpcore.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/httpcore.nim b/lib/pure/httpcore.nim
index 98c03d177..219c22265 100644
--- a/lib/pure/httpcore.nim
+++ b/lib/pure/httpcore.nim
@@ -94,8 +94,8 @@ converter toString*(values: HttpHeaderValues): string =
   return seq[string](values)[0]
 
 proc `[]`*(headers: HttpHeaders, key: string, i: int): string =
-  ## Returns the ``i``th value associated with the given key. If there are
-  ## no values associated with the key or the ``i``th value doesn't exist,
+  ## Returns the ``i``'th value associated with the given key. If there are
+  ## no values associated with the key or the ``i``'th value doesn't exist,
   ## an exception is raised.
   return headers.table[key.toLower][i]