diff options
author | wt <iwangtongi@163.com> | 2017-06-06 08:52:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 08:52:19 +0800 |
commit | 622b4a7b47c4a9b0bc7c670fddd37f628c5226af (patch) | |
tree | b48f5270b4ba89c88ba2dc83e6db9658a89bc2f9 | |
parent | 7e7699a856854c2e53b76dd4c41cd92661fb7463 (diff) | |
download | Nim-622b4a7b47c4a9b0bc7c670fddd37f628c5226af.tar.gz |
Update asynchttpserver.nim
-rw-r--r-- | lib/pure/asynchttpserver.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asynchttpserver.nim b/lib/pure/asynchttpserver.nim index 0dd32afc7..a374e80e8 100644 --- a/lib/pure/asynchttpserver.nim +++ b/lib/pure/asynchttpserver.nim @@ -127,7 +127,7 @@ proc parseProtocol(protocol: string): tuple[orig: string, major, minor: int] = i.inc protocol.parseInt(result.minor, i) proc sendStatus(client: AsyncSocket, status: string): Future[void] = - client.send("HTTP/1.1 " & status & "\c\L\c\L") + client.send("HTTP/1.1 " & status & "\c\L\c\L") proc processClient(client: AsyncSocket, address: string, callback: proc (request: Request): |