Fix `HttpTable.contains` argument requirements.
This commit is contained in:
parent
eb6e32605f
commit
72151b99cc
|
@ -67,7 +67,7 @@ proc set*(ht: var HttpTables, key: string, value: string) =
|
|||
let lowkey = key.toLowerAscii()
|
||||
ht.table[lowkey] = @[value]
|
||||
|
||||
proc contains*(ht: var HttpTables, key: string): bool =
|
||||
proc contains*(ht: HttpTables, key: string): bool =
|
||||
## Returns ``true`` if header with name ``key`` is present in HttpTable/Ref.
|
||||
ht.table.contains(key.toLowerAscii())
|
||||
|
||||
|
|
Loading…
Reference in New Issue