Check that Content-Type header exists before running a regexp on it
Merge pull request #1 from brianpkennedy/master

Check that Content-Type header exists before running a regexp on it