fluidinfo/fluidinfo.js — pull request #78 by jkakar (2012-03-12 23:27:45+00:00)
Title: fix-header-parsing-in-firefox-extension-77

This branch introduces the following changes:

- Headers are parsed in a more defensive way to make things work
properly in Firefox extensions where it seems they're separated by
`\n` instead of `\r\n` like they ought to be.

- I made some minor cosmetic drive-by cleanups.

I tried to add a test but I couldn't find a way to do it because
`sinon` creates the header blob from an object containing header/value
pairs.

Fixes #77.