assaf/node-replay — pull request #35 by rajit (2014-04-15 10:15:31+00:00)
Title: Support recording and serving images

We found that replay wrote images correctly in fixtures/ but when serving it would mangle them.

This fix changes the reading of data from fixtures/* so that it treats data up to the 2nd \n\n as a string and after that it leaves in a raw Buffer.

All tests pass, and replay now serves images.