summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2017-04-28 19:09:11 +0300
committerZahary Karadjov <zahary@gmail.com>2017-04-28 19:09:11 +0300
commit9107e551f1a617d5c3d0c3dfef44c91422a1dd07 (patch)
tree19ac68abd94c4c6c2c3125ac7336aaa5b6e4533b /lib
parentfa52cff82666cc404e71acdc967444a8d9fab31c (diff)
downloadNim-9107e551f1a617d5c3d0c3dfef44c91422a1dd07.tar.gz
close #5726
Turned out that the old code was wrong. I'm not sure why it used to work.

`response.body` properly resolves to an async proc defined in the httpclient
module with the following signature:

proc body*(response: AsyncResponse): Future[string] {.async.}

Perhaps the old code was somehow matching the body field of the `AsyncResponse`
object, which is marked as private.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions