summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2017-02-26 11:36:16 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2017-02-26 11:36:16 +0100
commit912d95a6ea2583bd783f85527dc3526b77710568 (patch)
tree0e0aff2e57cc0fcdcc98de1d1f7f3678957c2468
parent45765601e051fa26568b1897ea4a0ffb9bb45145 (diff)
downloadNim-912d95a6ea2583bd783f85527dc3526b77710568.tar.gz
Add small warning in httpclient's onProgressChanged docs.
-rw-r--r--lib/pure/httpclient.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pure/httpclient.nim b/lib/pure/httpclient.nim
index 8793c3f77..84f66b6dc 100644
--- a/lib/pure/httpclient.nim
+++ b/lib/pure/httpclient.nim
@@ -84,6 +84,9 @@
 ## .. code-block:: Nim
 ##   client.onProgressChanged = nil
 ##
+## **Warning:** The ``total`` reported by httpclient may be 0 in some cases.
+##
+##
 ## SSL/TLS support
 ## ===============
 ## This requires the OpenSSL library, fortunately it's widely used and installed