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