tomas / needle

Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.

Home Page:https://www.npmjs.com/package/needle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shouldn't we check if complete message was downloaded?

adityapatadia opened this issue · comments

This doc describes that complete property can be used to check if entire message was downloaded: https://nodejs.org/api/http.html#http_message_complete

Won't this check be helpful especially when transfer-encoding: chunked is used by server?