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.