Fix `HttpTable.contains` argument requirements.

This commit is contained in:
cheatfate 2021-02-26 11:31:46 +02:00
parent eb6e32605f
commit 72151b99cc
No known key found for this signature in database
GPG Key ID: 46ADD633A7201F95
1 changed files with 1 additions and 1 deletions

View File

@ -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())