Update core.php

Some minor code styling. 

According to RFC2616 14.17, it's "Content-Type", not "Content-type". This has been updated in the file.
Merge pull request #2 from mikaeldui/patch-2

Update core.php