fix(http): fix logic bug that caused onProgress event to always emit either 0 or 1.
fix(http): fix logic bug that caused onProgress event to always emit either 0 or 1.

ISSUES CLOSED: #1237

fopsdev/cerebral,cerebral/cerebral,cerebral/cerebral,christianalfoni/cerebral,christianalfoni/cerebral,fopsdev/cerebral