LinkedInAttic / sepia

Sepia is a VCR-like module for node.js that records HTTP interactions, then plays them back exactly like the first time they were invoked
Apache License 2.0
279 stars 32 forks source link

content-length=0 requests don't have a body #7

Closed rstacruz closed 9 years ago

rstacruz commented 9 years ago

when caching a request that returns content-length: 0, it seems request() returns a res.body that's undefined.

avik-das commented 9 years ago

Hi. Thanks for reporting this! Can you provide a small test case that shows this? I'm trying to reproduce this, but I always get back an empty string. Thanks!

rstacruz commented 9 years ago

This might be a different problem, sorry :)