Mention body length getter caveats in HTTPClient and HTTPRequest

This commit is contained in:
Hugo Locurcio
2019-10-22 20:16:29 +02:00
parent a1c890a9e5
commit 04d3146b75
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@
</return>
<description>
Returns the response body length.
[b]Note:[/b] Some Web servers may not send a body length. In this case, the value returned will be [code]-1[/code]. If using chunked transfer encoding, the body length will also be [code]-1[/code].
</description>
</method>
<method name="get_downloaded_bytes" qualifiers="const">