summary refs log tree commit diff stats
path: root/lib/pure/httpclient.nim
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-04-25 01:33:29 +0800
committerGitHub <noreply@github.com>2021-04-24 18:33:29 +0100
commit6e8f0f8cfcd6d617074be9868027e39daaeba103 (patch)
tree3f95c417bbf5ff9b0bab17fe8f3784860f7fba4c /lib/pure/httpclient.nim
parentb667e288e27a09ce4f65166fc66a6b713350a9b6 (diff)
downloadNim-6e8f0f8cfcd6d617074be9868027e39daaeba103.tar.gz
add colon (#17834)
Diffstat (limited to 'lib/pure/httpclient.nim')
-rw-r--r--lib/pure/httpclient.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim
index b60894103..86708dc40 100644
--- a/lib/pure/httpclient.nim
+++ b/lib/pure/httpclient.nim
@@ -751,7 +751,7 @@ proc parseBody(client: HttpClient | AsyncHttpClient, headers: HttpHeaders,
           httpError("Got disconnected while trying to read body.")
         if recvLen != length:
           httpError("Received length doesn't match expected length. Wanted " &
-                    $length & " got " & $recvLen)
+                    $length & " got: " & $recvLen)
     else:
       # (http://tools.ietf.org/html/rfc2616#section-4.4) NR.4 TODO