[bugfix] properly set the header(Content-Type)
Merge branch 'release/3.0' of github.com:cnlpete/candyCMS-Core into release/3.0
Merge pull request #21 from cnlpete/release/3.0

[3.0] proper content-type setting
Merge pull request #22 from marcoraddatz/master

3.0 -> 3.1