update response header content-type

  the previous type is default value, 'text/html'
Merge pull request #32 from Chunjie/master

update response header content-type  -David Stevenson