Closed anthony-ism closed 2 years ago
Didn't dig too deep on how the response.body gets hydrated -- assuming that the whole body is there, just hasn't been parsed correctly.
Read a little about the transfer-chunk encoding and wrote some logic to parse it.
Read https://github.com/dougmoscrop/serverless-http/issues/142
and decided to see if the lib itself could handler this portion of the logic.
Let me know what you think.
I've tested this and works great. When is this going to be merged in master?
Didn't dig too deep on how the response.body gets hydrated -- assuming that the whole body is there, just hasn't been parsed correctly.
Read a little about the transfer-chunk encoding and wrote some logic to parse it.
Read https://github.com/dougmoscrop/serverless-http/issues/142
and decided to see if the lib itself could handler this portion of the logic.
Let me know what you think.